aboutsummaryrefslogblamecommitdiffstats
path: root/main/check/APKBUILD
blob: 123db2c85cffd23813824700a24bc2dec217c6b5 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                               
             
        
                                     
                                       
          
                           
                                                         
                             
                                       
                                                                                         


                       

                       

         
                     

                                 
                               

                                         

                                      


            
         


                  
           
                                      

 
                                                                                                                                                                  
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=check
pkgver=0.14.0
pkgrel=0
pkgdesc="A unit test framework for C"
url="https://libcheck.github.io/check/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="pkgconfig texinfo autoconf automake libtool"
checkdepends="diffutils gawk"
subpackages="$pkgname-doc $pkgname-dev"
source="https://github.com/libcheck/check/releases/download/$pkgver/check-$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vfi
}

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

check() {
	make check
}

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

sha512sums="07fc85b5eecffeb407f554c0cb737126ed6d68ba0db3d74c14697505f2b410496ff72311f08bbf43d7af1c971f0475e776966e320bfb3fe00cde1ecbe1d6f367  check-0.14.0.tar.gz"