void-packages/srcpkgs/acl/template
Juan RP 8ba33923e1 acl: move so symlink into main pkg.
--HG--
extra : convert_revision : 1614b39840ae6f8e7d574d68c2d85c9b12a2595f
2010-04-22 11:57:07 +02:00

33 lines
1 KiB
Text

# Template file for 'acl'
pkgname=acl
version=2.2.49
revision=1
distfiles="http://mirrors.igsobe.com/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
rm -rf ${DESTDIR}/usr/libexec
rm -f ${DESTDIR}/usr/lib/libacl.so
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libacl.so.1 libacl.so
}