summaryrefslogblamecommitdiff
path: root/system/acl/APKBUILD
blob: 74b9eb0b09a6146b1b035c045720aed79047026c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
           
            
        


                                              

                                                                                
                                
          

                                            
                                                  
                                                            
                                                                             

           
                       


                                                               


         




                                          
                                     



            
                                      







                                                                 
                                                                                                                                                               
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=acl
pkgver=2.3.1
pkgrel=0
pkgdesc="Access control list utilities"
url="https://savannah.nongnu.org/projects/acl"
arch="all"
# depends on order of nftw, and requires test machine to have ACLs enabled on FS
options="!check"
license="LGPL-2.1+ AND GPL-2.0+"
depends=""
makedepends_build="gzip gettext-tiny"
makedepends_host="attr-dev gettext-tiny-dev"
makedepends="$makedepends_build $makedepends_host"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang libacl"
source="https://download.savannah.nongnu.org/releases/acl/acl-$pkgver.tar.gz"

prepare() {
	default_prepare
	sed -i \
		-e '/^as_dummy=/s:=":="$PATH$PATH_SEPARATOR:' \
		configure # hack PATH with AC_PATH_PROG
}

build() {
	CONFIG_SHELL=/bin/sh ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libdir=/lib \
		--libexecdir=/usr/lib
	make
}

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

libacl() {
	pkgdesc="Dynamic library for access control list support"
	mkdir -p "$subpkgdir"/lib
	mv "$pkgdir"/lib/libacl.so.* "$subpkgdir"/lib/
}

sha512sums="f101e27058c959f4c412f475c3fc77a90d1ead8728701e4ce04ff08b34139d35e0e72278c9ac7622ba6054e81c0aeca066e09491b5f5666462e3866705a0e892  acl-2.3.1.tar.gz"