vp-build/srcpkgs/acl/template

42 lines
1.0 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
}
}