2009-04-24 15:21:30 +00:00
|
|
|
# Template file for 'acl'
|
|
|
|
pkgname=acl
|
2010-04-14 23:22:36 +00:00
|
|
|
version=2.2.49
|
2010-04-23 12:11:32 +00:00
|
|
|
revision=2
|
2010-05-25 13:16:59 +00:00
|
|
|
distfiles="http://mirrors.zerg.biz/nongnu/acl/acl-${version}.src.tar.gz"
|
2009-04-24 15:21:30 +00:00
|
|
|
build_style=gnu_configure
|
2009-10-30 21:14:09 +00:00
|
|
|
make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr
|
|
|
|
PKG_MAN_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/man install
|
|
|
|
install-lib install-dev"
|
2009-04-24 15:21:30 +00:00
|
|
|
short_desc="Access Control List filesystem support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-04-14 23:22:36 +00:00
|
|
|
checksum=b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5
|
2009-04-24 15:21:30 +00:00
|
|
|
long_desc="
|
|
|
|
This package includes support for Access Control Lists support for supported
|
|
|
|
filesystems."
|
|
|
|
|
2009-10-17 01:14:05 +00:00
|
|
|
keep_libtool_archives=yes
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="acl-devel acl-progs"
|
2010-01-07 20:03:40 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run attr
|
2009-04-24 15:21:30 +00:00
|
|
|
Add_dependency build gettext
|
2009-11-05 16:59:55 +00:00
|
|
|
Add_dependency build gawk
|
2010-01-07 20:03:40 +00:00
|
|
|
Add_dependency build attr-devel
|
2009-04-24 15:21:30 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
mkdir ${DESTDIR}/lib
|
|
|
|
mv ${DESTDIR}/usr/lib/libacl.so.* ${DESTDIR}/lib
|
|
|
|
mv ${DESTDIR}/usr/libexec/libacl.* ${DESTDIR}/usr/lib
|
2010-04-23 12:11:32 +00:00
|
|
|
chmod 755 ${DESTDIR}/lib/libacl.so.*
|
2009-04-24 15:21:30 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/libexec
|
2009-05-05 23:30:33 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/libacl.so
|
|
|
|
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libacl.so.1 libacl.so
|
2009-04-24 15:21:30 +00:00
|
|
|
}
|