2009-04-24 17:21:10 +02:00
|
|
|
# Template file for 'attr'
|
|
|
|
pkgname=attr
|
2013-06-06 23:22:10 +02:00
|
|
|
version=2.4.47
|
2015-05-09 07:22:05 +02:00
|
|
|
revision=6
|
2014-01-01 16:10:11 +01:00
|
|
|
bootstrap=yes
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-01-30 17:12:21 +01:00
|
|
|
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
|
2009-04-24 17:21:10 +02:00
|
|
|
short_desc="Extended attribute support library for ACL support"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-06-19 14:31:25 +02:00
|
|
|
homepage="http://savannah.nongnu.org/projects/attr"
|
|
|
|
license="LGPL-2.1"
|
2013-02-06 16:08:12 +01:00
|
|
|
distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz"
|
2013-06-06 23:22:10 +02:00
|
|
|
checksum=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859
|
2013-04-09 01:49:27 +02:00
|
|
|
|
2015-04-19 10:37:23 +02:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
configure_args="--libdir=/usr/lib32 --libexecdir=/usr/lib32"
|
|
|
|
fi
|
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
do_install() {
|
|
|
|
make DIST_ROOT=${DESTDIR} install install-lib install-dev
|
|
|
|
}
|
2013-04-11 10:33:01 +02:00
|
|
|
|
|
|
|
attr-devel_package() {
|
2013-10-19 12:26:59 +02:00
|
|
|
depends="attr>=${version}_${revision}"
|
2013-06-06 23:22:10 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-11 10:33:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-10-19 12:26:59 +02:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-11 10:33:01 +02:00
|
|
|
vmove usr/share/man/man2
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/man/man5
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
attr-progs_package() {
|
2013-06-06 23:22:10 +02:00
|
|
|
short_desc+=" - utilities"
|
2013-04-11 10:33:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share/man/man1
|
|
|
|
vmove usr/share/locale
|
|
|
|
}
|
|
|
|
}
|