2009-04-24 15:21:30 +00:00
|
|
|
# Template file for 'acl'
|
|
|
|
pkgname=acl
|
2013-06-06 21:23:05 +00:00
|
|
|
version=2.2.52
|
2013-10-19 10:27:06 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-01-30 16:12:27 +00:00
|
|
|
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="attr-devel"
|
2009-04-24 15:21:30 +00:00
|
|
|
short_desc="Access Control List filesystem support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-19 12:33:20 +00:00
|
|
|
homepage="http://savannah.nongnu.org/projects/acl"
|
|
|
|
license="LGPL-2.1"
|
2013-02-06 15:32:36 +00:00
|
|
|
distfiles="${NONGNU_SITE}/acl/acl-${version}.src.tar.gz"
|
2013-06-06 21:23:05 +00:00
|
|
|
checksum=179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23
|
2013-04-08 23:49:27 +00:00
|
|
|
|
2013-10-19 10:27:06 +00:00
|
|
|
bootstrap=yes
|
|
|
|
|
2013-10-24 08:04:53 +00:00
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
|
|
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
|
|
|
|
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
|
|
|
|
fi
|
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
do_install() {
|
|
|
|
make DIST_ROOT=${DESTDIR} install install-lib install-dev
|
2013-04-11 08:33:01 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
|
|
}
|
|
|
|
|
|
|
|
acl-devel_package() {
|
2013-10-19 10:27:06 +00:00
|
|
|
depends="attr-devel acl>=${version}_${revision}"
|
2013-06-06 21:23:05 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-11 08:33:01 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-10-19 10:27:06 +00:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-11 08:33:01 +00:00
|
|
|
vmove "usr/share/man/man[235]"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
acl-progs_package() {
|
2013-06-06 21:23:05 +00:00
|
|
|
short_desc+=" - utilities"
|
2013-04-11 08:33:01 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
acl_package() {
|
|
|
|
pkg_install() {
|
2013-10-19 10:27:06 +00:00
|
|
|
vmove all
|
2013-04-11 08:33:01 +00:00
|
|
|
}
|
2013-04-08 23:49:27 +00:00
|
|
|
}
|