void-packages/srcpkgs/acl/template

44 lines
1.0 KiB
Bash

# Template file for 'acl'
pkgname=acl
version=2.2.52
revision=3
bootstrap=yes
build_style=gnu-configure
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
makedepends="attr-devel"
short_desc="Access Control List filesystem support"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://savannah.nongnu.org/projects/acl"
license="LGPL-2.1"
distfiles="${NONGNU_SITE}/acl/acl-${version}.src.tar.gz"
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}"
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() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}