void-packages/srcpkgs/acl/template

44 lines
1.1 KiB
Bash

# Template file for 'acl'
pkgname=acl
version=2.2.53
revision=1
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="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=06be9865c6f418d851ff4494e12406568353b891ffe1f596b34693c387af26c7
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
configure_args="--libdir=/usr/lib32 --libexecdir=/usr/lib32"
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
}
}