mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-15 04:43:01 +01:00
Package description: Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs. Website: http://check.sourceforge.net/
34 lines
776 B
Plaintext
34 lines
776 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=check
|
|
pkgver=0.9.8
|
|
pkgrel=0
|
|
pkgdesc="A unit test framework for C"
|
|
url="http://check.sourceforge.net/"
|
|
arch="all"
|
|
license="LGPL2+"
|
|
depends=""
|
|
depends_dev="pkgconfig"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://downloads.sourceforge.net/check/check-$pkgver.tar.gz"
|
|
_builddir="$srcdir"/check-$pkgver
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--infodir=/usr/share/info \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la
|
|
}
|
|
|
|
md5sums="5d75e9a6027cde79d2c339ef261e7470 check-0.9.8.tar.gz"
|