attr: move doc to -devel subpkg.

This commit is contained in:
Juan RP 2012-01-30 08:49:31 +01:00
parent 5588e9dfdc
commit 8079c284ad
3 changed files with 15 additions and 16 deletions

View file

@ -5,13 +5,16 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel
Add_dependency run attr
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/libattr.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man[235] ${DESTDIR}/usr/share/man
do_install() {
vmove usr/include usr
vmove "usr/lib/*.*a" usr/lib
vmove usr/share/man/man2 usr/share/man
vmove usr/share/man/man3 usr/share/man
vmove usr/share/man/man5 usr/share/man
vmove usr/share/doc usr/share
}

View file

@ -6,11 +6,8 @@ long_desc="${long_desc}
This package contains binary utilities provided by the attr package."
do_install()
{
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/locale ${DESTDIR}/usr/share
do_install() {
vmove usr/bin usr
vmove usr/share/man/man1 usr/share/man
vmove usr/share/locale usr/share
}

View file

@ -6,7 +6,7 @@ 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=1
revision=2
short_desc="Extended attribute support library for ACL support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://savannah.nongnu.org/projects/attr"
@ -20,8 +20,7 @@ subpackages="attr-devel attr-progs"
Add_dependency build gettext
Add_dependency build gawk
post_install()
{
post_install() {
mkdir ${DESTDIR}/lib
mv ${DESTDIR}/usr/lib/libattr.so.* ${DESTDIR}/lib
mv ${DESTDIR}/usr/libexec/libattr.* ${DESTDIR}/usr/lib