1ebe5e6b5e
xbps-src: * ALWAYS use the static bins, to avoid breakage in the chroot. * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's useful to download all distfiles in xbps-base-system. * Use busybox in the chroot and create links in /usr/local/bin at creation time. This helps to remove many packages that had problems with host/target libs (acl, attr, libarchive, etc). build templates: * Add explicit gettext and texinfo build dependencies in all packages that need them, because they aren't built anymore by xbps-base-chroot. * Fixed some packages using build_style=gnu_makefile, that were broken because pre/post_configure() is not executed for a while, they should use pre/post_build() instead. --HG-- extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
29 lines
975 B
Plaintext
29 lines
975 B
Plaintext
# Template file for 'attr'
|
|
pkgname=attr
|
|
version=2.4.44
|
|
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/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=e01fa00686072a02dddf994e6217be950f51c1dc0852ad2e210c48b6e8de793a
|
|
long_desc="
|
|
This package includes Extended attribute support library for ACL support."
|
|
|
|
keep_libtool_archives=yes
|
|
subpackages="devel progs"
|
|
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
|
|
rm -f ${DESTDIR}/usr/lib/libattr.so
|
|
cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libattr.so.1 libattr.so
|
|
}
|