2009-04-24 17:21:10 +02:00
|
|
|
# Template file for 'attr'
|
|
|
|
pkgname=attr
|
2011-06-19 14:31:25 +02:00
|
|
|
version=2.4.46
|
|
|
|
distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz"
|
2009-04-24 17:21:10 +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:10 +02:00
|
|
|
short_desc="Extended attribute support library for ACL support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-19 14:31:25 +02:00
|
|
|
homepage="http://savannah.nongnu.org/projects/attr"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
checksum=dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f
|
2009-04-24 17:21:10 +02:00
|
|
|
long_desc="
|
|
|
|
This package includes Extended attribute support library for ACL support."
|
|
|
|
|
2009-10-17 03:14:05 +02:00
|
|
|
keep_libtool_archives=yes
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="attr-devel attr-progs"
|
2009-04-24 17:21:10 +02:00
|
|
|
Add_dependency build gettext
|
2009-11-05 17:59:55 +01:00
|
|
|
Add_dependency build gawk
|
2009-04-24 17:21:10 +02: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 14:12:29 +02:00
|
|
|
chmod 755 ${DESTDIR}/lib/libattr.so.*
|
2009-04-24 17:21:10 +02:00
|
|
|
rm -rf ${DESTDIR}/usr/libexec
|
2009-05-06 01:19:24 +02:00
|
|
|
rm -f ${DESTDIR}/usr/lib/libattr.so
|
|
|
|
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libattr.so.1 libattr.so
|
2009-04-24 17:21:10 +02:00
|
|
|
}
|