attr: move so symlink to -devel pkg; bootstrap pkg.

This commit is contained in:
Juan RP 2013-10-19 12:26:59 +02:00
parent eefd82db09
commit 5300eb49a5
1 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'attr' # Template file for 'attr'
pkgname=attr pkgname=attr
version=2.4.47 version=2.4.47
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib" configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
short_desc="Extended attribute support library for ACL support" short_desc="Extended attribute support library for ACL support"
@ -11,16 +11,19 @@ license="LGPL-2.1"
distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz" distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz"
checksum=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859 checksum=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859
bootstrap=yes
do_install() { do_install() {
make DIST_ROOT=${DESTDIR} install install-lib install-dev make DIST_ROOT=${DESTDIR} install install-lib install-dev
} }
attr-devel_package() { attr-devel_package() {
depends="attr>=${version}" depends="attr>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.*a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man2 vmove usr/share/man/man2
vmove usr/share/man/man3 vmove usr/share/man/man3
vmove usr/share/man/man5 vmove usr/share/man/man5
@ -39,6 +42,6 @@ attr-progs_package() {
attr_package() { attr_package() {
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }