aboutsummaryrefslogblamecommitdiffstats
path: root/main/atf/APKBUILD
blob: f0d90dd3e52330c832526932777d2f196964b7e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                             

           
        


                                                      

                                                       
                                                                                     
 




                         
         





                                         




                                    
                  


           
                                      

 
                                                                                                                                                              
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=atf
pkgver=0.21
pkgrel=2
pkgdesc="libraries to write tests in C, C++ and shell"
url="https://github.com/jmmv/atf"
arch="all"
license="BSD-2-Clause AND BSD-3-Clause"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/jmmv/atf/releases/download/atf-$pkgver/atf-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

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="9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1  atf-0.21.tar.gz"