void-packages/srcpkgs/acl/template

42 lines
1.0 KiB
Bash

# Template file for 'acl'
pkgname=acl
version=2.3.2
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="--libdir=/usr/lib${XBPS_TARGET_WORDSIZE}
--libexecdir=/usr/lib${XBPS_TARGET_WORDSIZE}"
makedepends="attr-devel"
short_desc="Access Control List filesystem support"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://savannah.nongnu.org/projects/acl"
distfiles="${NONGNU_SITE}/acl/acl-${version}.tar.gz"
checksum=5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
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]"
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}
acl-progs_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}