void-packages/srcpkgs/attr/template

33 lines
1.1 KiB
Plaintext
Raw Normal View History

# 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"
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>"
2011-06-19 14:31:25 +02:00
homepage="http://savannah.nongnu.org/projects/attr"
license="LGPL-2.1"
checksum=dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f
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
chmod 755 ${DESTDIR}/lib/libattr.so.*
rm -rf ${DESTDIR}/usr/libexec
rm -f ${DESTDIR}/usr/lib/libattr.so
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libattr.so.1 libattr.so
}