blob: 0a10836df3efe34cc284fd4b477e978a8dd81ca1 (
plain) (
tree)
|
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=acl
pkgver=2.3.2
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="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
mkdir -p "$pkgdir"/usr/lib
mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/
}
libacl() {
pkgdesc="Dynamic library for access control list support"
mkdir -p "$subpkgdir"/lib
mv "$pkgdir"/lib/libacl.so.* "$subpkgdir"/lib/
}
sha512sums="31aeb39958d8af5d08933dd3a89333a41025c3eb49fc461fa3c291caca51dad575ec13faeb7deba9b3c2ebf7615be7d45e2b78e50d4f83d8ec933c95931a7682 acl-2.3.2.tar.gz"
|