attr: install shlibs into /usr/lib.

This commit is contained in:
Juan RP 2012-01-30 17:12:21 +01:00
parent 39891b05e7
commit 02ac8e402f
1 changed files with 4 additions and 14 deletions

View File

@ -3,10 +3,10 @@ pkgname=attr
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"
revision=2
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
make_install_target="DIST_ROOT=$XBPS_DESTDIR/$pkgname-$version
install install-lib install-dev"
revision=3
short_desc="Extended attribute support library for ACL support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://savannah.nongnu.org/projects/attr"
@ -19,13 +19,3 @@ keep_libtool_archives=yes
subpackages="attr-devel attr-progs"
Add_dependency build gettext
Add_dependency build gawk
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
}