void-packages/srcpkgs/acl/template

35 lines
1.1 KiB
Plaintext

# Template file for 'acl'
pkgname=acl
version=2.2.49
revision=2
distfiles="http://mirrors.zerg.biz/nongnu/acl/acl-${version}.src.tar.gz"
build_style=gnu_configure
make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr
PKG_MAN_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/man install
install-lib install-dev"
short_desc="Access Control List filesystem support"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5
long_desc="
This package includes support for Access Control Lists support for supported
filesystems."
keep_libtool_archives=yes
subpackages="acl-devel acl-progs"
Add_dependency run glibc
Add_dependency run attr
Add_dependency build gettext
Add_dependency build gawk
Add_dependency build attr-devel
post_install()
{
mkdir ${DESTDIR}/lib
mv ${DESTDIR}/usr/lib/libacl.so.* ${DESTDIR}/lib
mv ${DESTDIR}/usr/libexec/libacl.* ${DESTDIR}/usr/lib
chmod 755 ${DESTDIR}/lib/libacl.so.*
rm -rf ${DESTDIR}/usr/libexec
rm -f ${DESTDIR}/usr/lib/libacl.so
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libacl.so.1 libacl.so
}