2009-04-24 15:21:10 +00:00
|
|
|
# Template file for 'attr'
|
|
|
|
pkgname=attr
|
2009-10-25 08:48:16 +00:00
|
|
|
version=2.4.44
|
2010-04-23 12:12:29 +00:00
|
|
|
revision=2
|
2010-05-11 16:49:33 +00:00
|
|
|
distfiles="ftp://ftp.archlinux.org/other/attr/attr-${version}.src.tar.gz"
|
2009-04-24 15:21:10 +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:10 +00:00
|
|
|
short_desc="Extended attribute support library for ACL support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-05-11 16:49:33 +00:00
|
|
|
checksum=e01fa00686072a02dddf994e6217be950f51c1dc0852ad2e210c48b6e8de793a
|
2009-04-24 15:21:10 +00:00
|
|
|
long_desc="
|
|
|
|
This package includes Extended attribute support library for ACL support."
|
|
|
|
|
2009-10-17 01:14:05 +00:00
|
|
|
keep_libtool_archives=yes
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="attr-devel attr-progs"
|
2009-04-24 15:21:10 +00:00
|
|
|
Add_dependency build gettext
|
2009-11-05 16:59:55 +00:00
|
|
|
Add_dependency build gawk
|
2009-04-24 15:21:10 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
mkdir ${DESTDIR}/lib
|
|
|
|
mv ${DESTDIR}/usr/lib/libattr.so.* ${DESTDIR}/lib
|
|
|
|
mv ${DESTDIR}/usr/libexec/libattr.* ${DESTDIR}/usr/lib
|
2010-04-23 12:12:29 +00:00
|
|
|
chmod 755 ${DESTDIR}/lib/libattr.so.*
|
2009-04-24 15:21:10 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/libexec
|
2009-05-05 23:19:24 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/libattr.so
|
|
|
|
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libattr.so.1 libattr.so
|
2009-04-24 15:21:10 +00:00
|
|
|
}
|