void-packages/srcpkgs/acl/template
Anthony Iliopoulos 9a0e6dbf52 acl: update to 2.3.1.
Closes: #29623 [via git-merge-pr]
2021-04-11 00:34:28 -03:00

41 lines
1 KiB
Bash

# Template file for 'acl'
pkgname=acl
version=2.3.1
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=760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af
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
}
}