summaryrefslogblamecommitdiff
path: root/system/check/APKBUILD
blob: 0cba779fae7c2b26018fa35d1bfa264f1b7dc6d5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                               
                                                 
             

             


                                       
                   
          
                        
                       


                                                                                               
         





                                         
                                    



            



                  


                                      
                                                                                                                                                                  
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=check
pkgver=0.13.0
pkgrel=0
pkgdesc="A unit test framework for C"
url="https://libcheck.github.io/check/"
arch="all"
license="LGPL-2.1+"
depends=""
checkdepends="diffutils"
makedepends="pkgconfig"
subpackages="$pkgname-doc $pkgname-dev"
source="https://github.com/libcheck/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9e3a3b4b2e1aae02f6481a3d944a5a9216c1f03d85a2bbd63c05d047095fe16b78e5c4094b464fe531650daba24c58d7343f7ec059ce0e127e9aff1ff86213d0  check-0.13.0.tar.gz"