85cc462e1d
* Moved helpers, common and triggers dirs into xbps-src, where they belong. * Renamed the templates dir to srcpkgs, it was so redundant before. * Make it possible to add subpkgs with no restriction in names, for example udev now has a subpkgs called "libgudev". Previously subpkgs were named "${sourcepkg}-${pkgname}". * xbps-src: changed to look for template files in current directory. That means that most arguments from the targets have been removed. * xbps-src: added a reinstall target, to remove + install. * xbps-src: do not overwrite binpkgs by default, skip them. And more that I forgot because it's a mega-commit that I've been working for some days already... --HG-- extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
29 lines
1,011 B
Text
29 lines
1,011 B
Text
# 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="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
|
|
}
|