libXxf86misc: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : f19fd624c0b730406ea3e5ce72b9011abe671c84
This commit is contained in:
Juan RP 2009-03-19 04:18:18 +01:00
parent ce08d0f4db
commit 7535a64468
4 changed files with 30 additions and 4 deletions

View File

@ -0,0 +1 @@
libXxf86misc

View File

@ -0,0 +1,2 @@
abi_depends=1.0.1
api_depends=${abi_depends}

View File

@ -0,0 +1,17 @@
# Template file for 'libXxf86misc-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXxf86misc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
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 ${DESTDIR}/usr
}

View File

@ -1,4 +1,6 @@
# Template build file for 'libXxf86misc'.
pkgname=libXxf86misc
sourcepkg=$pkgname
version=1.0.1
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -10,7 +12,11 @@ long_desc="
to the XFree86-Misc extension which allows various server settings
to be queried and changed dynamically."
shared_deps="libX11-1.1 libXext-1.0"
build_depends="pkg-config-0.23 xproto-7.0 xextproto-7.0 xf86miscproto-0.9
${shared_deps}"
run_depends="glibc-2.8 ${shared_deps}"
subpackages="devel"
Add_dependency build pkg-config
Add_dependency build xproto
Add_dependency build xextproto
Add_dependency build xf86miscproto
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXext