mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=check
|
|
pkgver=0.11.0
|
|
pkgrel=0
|
|
pkgdesc="A unit test framework for C"
|
|
url="https://libcheck.github.io/check/"
|
|
arch="all"
|
|
license="LGPL2+"
|
|
makedepends="pkgconfig"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/libcheck/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="9b90522b31f5628c2e0f55dda348e558 check-0.11.0.tar.gz"
|
|
sha256sums="24f7a48aae6b74755bcbe964ce8bc7240f6ced2141f8d9cf480bc3b3de0d5616 check-0.11.0.tar.gz"
|
|
sha512sums="69209487b6cae8ad143532d3a965f9d17762a0e09df781792f9307ad8a279ee8fc39be7cb7b8e08f4d88606c449e9a2e33bea2216e31d9eb82e8b778df69cd13 check-0.11.0.tar.gz"
|