libXau: converted to subpkgs.

--HG--
extra : convert_revision : 6cec48511c92a947a8bfd3b3f3a7b284fa15533d
This commit is contained in:
Juan RP 2009-03-19 01:35:38 +01:00
parent ed3e629b66
commit d676665820
3 changed files with 23 additions and 0 deletions

1
templates/libXau-devel Symbolic link
View file

@ -0,0 +1 @@
libXau

View file

@ -0,0 +1,20 @@
# Template file for 'libXau-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXau
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
rm -rf ${SRCPKGDESTDIR}/usr/share
}

View file

@ -1,5 +1,6 @@
# Template build file for 'libXau'.
pkgname=libXau
sourcepkg=$pkgname
version=1.0.4
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -10,6 +11,7 @@ long_desc="
LibXau is an authorization protocol for X from the modular
X.org X11 project."
subpackages="devel"
Add_dependency full glibc
Add_dependency build pkg-config
Add_dependency build xproto