aboutsummaryrefslogblamecommitdiffstats
path: root/main/libcap-ng/APKBUILD
blob: b51071ec5f177914421e9332b253a7246f39ac8c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            
                                    
                                                          
          
                                            
                           
                               
                                                      
                                                                           

                           

         
                                  



                                 

                                         

                                           

                                   



            
                  


           




                                          
 
                     
 
 
                                                                                                                                                                    
                                                                                                                                                      
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap-ng
pkgver=0.8.2
pkgrel=0
pkgdesc="POSIX capabilities library"
url="http://people.redhat.com/sgrubb/libcap-ng/index.html"
arch="all"
license="GPL-2.0-or-later LGPL-2.1-or-later"
depends_dev="linux-headers"
makedepends_host="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
source="https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-$pkgver.tar.gz
	apply-disable.patch
	"

build() {
	ac_cv_prog_swig_found=no \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-python \
		--without-python3 \
		--disable-static
	make
}

check() {
	make check
}

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

utils() {
	pkgdesc="posix capabilities utils"

	amove usr/bin
}

sha512sums="0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b  libcap-ng-0.8.2.tar.gz
5f362d5d3f791d1bddc5d9ef3b31e5089c54f852904e12bc3b58dcd22fa87086766cfc095ae8b485bee1b3c4fd854575b89821052b77967a6fdca4ff7e0a0397  apply-disable.patch"