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