vp-build/templates/acl/template
Juan RP 8f6698c79b attr, acl: add missing gawk build dep.
--HG--
extra : convert_revision : 07f1d95592e485f23da6b19284d1d873f510c637
2009-11-05 17:59:55 +01:00

32 lines
1.0 KiB
Plaintext

# Template file for 'acl'
pkgname=acl
version=2.2.48
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/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=b45e21549c9752ad9b99862cce79d7ec5ef4b32c3e95a39f79f0a8442b86476e
long_desc="
This package includes support for Access Control Lists support for supported
filesystems."
keep_libtool_archives=yes
subpackages="devel progs"
Add_dependency build gettext
Add_dependency build gawk
Add_dependency run glibc
Add_dependency full attr
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
}