void-packages/srcpkgs/acl/template
Juan RP e2a4ff9a63 acl-progs: add missing attr rundep, bumprev.
--HG--
extra : convert_revision : fbeca471719e2db0109bb5d92858e5a6e8ce1e3d
2010-01-07 21:03:40 +01:00

32 lines
1 KiB
Text

# Template file for 'acl'
pkgname=acl
version=2.2.48
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=f29cc6c3453703b9f3be2b5fdc60c4af6dc52f1696eaf7b657dd71948bbce27d
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
}