void-packages/srcpkgs/attr/template
Juan RP 43ab7e10da attr: hate this, THEY REMOVED THE DISTFILE!
--HG--
extra : convert_revision : b930036f64d3da1aed438caf689e705990832337
2009-12-19 04:57:07 +01:00

29 lines
1,016 B
Text

# Template file for 'attr'
pkgname=attr
version=2.4.44
distfiles="http://mirror.lihnidos.org/GNU/savannah/attr/attr-${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="Extended attribute support library for ACL support"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9f6214b8e53f4bba651ac5a72c0f6193b12aa21fbf1d675d89a7b4bc45264498
long_desc="
This package includes Extended attribute support library for ACL support."
keep_libtool_archives=yes
subpackages="attr-devel attr-progs"
Add_dependency build gettext
Add_dependency build gawk
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
rm -f ${DESTDIR}/usr/lib/libattr.so
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libattr.so.1 libattr.so
}