summaryrefslogtreecommitdiffstats
path: root/main/check/APKBUILD
blob: f3c04742e250b76cd32869f229ebcc71308b44de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=check
pkgver=0.9.10
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--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="6d10a8efb9a683467b92b3bce97aeb30  check-0.9.10.tar.gz"
sha256sums="823819235753e94ae0bcab3c46cc209de166c32ff2f52cefe120597db4403e6d  check-0.9.10.tar.gz"
sha512sums="418686a2473de5a11400278213a260769876571735b60cd2ac553780ac93266bb55b344a36ac1e7fd4dfc0491114c7779874d4837f99cc42e3b4ec0e8ddf3ae1  check-0.9.10.tar.gz"