2009-04-24 17:21:10 +02:00
|
|
|
# Template file for 'attr'
|
|
|
|
pkgname=attr
|
|
|
|
version=2.4.43
|
|
|
|
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${version}-1.tar.gz"
|
|
|
|
build_style=gnu_configure
|
|
|
|
configure_env="ac_cv_path_LIBTOOL=${XBPS_MASTERDIR}/usr/bin/libtool
|
|
|
|
ac_cv_path_MSGFMT=${XBPS_MASTERDIR}/usr/bin/msgfmt
|
|
|
|
ac_cv_path_MSGMERGE=${XBPS_MASTERDIR}/usr/bin/msgmerge
|
|
|
|
ac_cv_path_XGETTEXT=${XBPS_MASTERDIR}/usr/bin/xgettext"
|
|
|
|
make_install_args="install-lib install-dev"
|
|
|
|
short_desc="Extended attribute support library for ACL support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=d358b233b3e2ad235e63fd8697e337006fc7506844e424b0d9dd7a24affec5bf
|
|
|
|
long_desc="
|
|
|
|
This package includes Extended attribute support library for ACL support."
|
|
|
|
|
|
|
|
base_chroot=yes
|
2009-10-17 03:14:05 +02:00
|
|
|
keep_libtool_archives=yes
|
2009-04-24 17:21:10 +02:00
|
|
|
|
|
|
|
subpackages="devel progs"
|
|
|
|
Add_dependency build libtool
|
|
|
|
Add_dependency build gettext
|
|
|
|
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
|
|
|
|
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
|
|
|
}
|