void-packages/srcpkgs/acl/template

44 lines
1.0 KiB
Bash
Raw Normal View History

# Template file for 'acl'
pkgname=acl
2013-06-06 23:23:05 +02:00
version=2.2.52
revision=3
bootstrap=yes
build_style=gnu-configure
2012-01-30 17:12:27 +01:00
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
makedepends="attr-devel"
short_desc="Access Control List filesystem support"
maintainer="Juan RP <xtraeme@gmail.com>"
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
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
do_install() {
make DIST_ROOT=${DESTDIR} install install-lib install-dev
rm -rf ${DESTDIR}/usr/share/doc
}
acl-devel_package() {
depends="attr-devel acl>=${version}_${revision}"
2013-06-06 23:23:05 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/share/man/man[235]"
}
}
acl-progs_package() {
2013-06-06 23:23:05 +02:00
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}