2009-04-24 17:21:30 +02:00
|
|
|
# Template file for 'acl'
|
|
|
|
pkgname=acl
|
2010-04-15 01:22:36 +02:00
|
|
|
version=2.2.49
|
2010-04-23 14:11:32 +02:00
|
|
|
revision=2
|
2009-12-19 04:56:42 +01:00
|
|
|
distfiles="http://mirrors.igsobe.com/nongnu/acl/acl-${version}.src.tar.gz"
|
2009-04-24 17:21:30 +02:00
|
|
|
build_style=gnu_configure
|
2009-10-30 22:14:09 +01: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 17:21:30 +02:00
|
|
|
short_desc="Access Control List filesystem support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-04-15 01:22:36 +02:00
|
|
|
checksum=b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5
|
2009-04-24 17:21:30 +02:00
|
|
|
long_desc="
|
|
|
|
This package includes support for Access Control Lists support for supported
|
|
|
|
filesystems."
|
|
|
|
|
2009-10-17 03:14:05 +02:00
|
|
|
keep_libtool_archives=yes
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="acl-devel acl-progs"
|
2010-01-07 21:03:40 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run attr
|
2009-04-24 17:21:30 +02:00
|
|
|
Add_dependency build gettext
|
2009-11-05 17:59:55 +01:00
|
|
|
Add_dependency build gawk
|
2010-01-07 21:03:40 +01:00
|
|
|
Add_dependency build attr-devel
|
2009-04-24 17:21:30 +02: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 14:11:32 +02:00
|
|
|
chmod 755 ${DESTDIR}/lib/libacl.so.*
|
2009-04-24 17:21:30 +02:00
|
|
|
rm -rf ${DESTDIR}/usr/libexec
|
2009-05-06 01:30:33 +02:00
|
|
|
rm -f ${DESTDIR}/usr/lib/libacl.so
|
|
|
|
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libacl.so.1 libacl.so
|
2009-04-24 17:21:30 +02:00
|
|
|
}
|