libxkbfile: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 054ae15eeaf0c5dd6255bf46a50e1a83ed1ed2cb
This commit is contained in:
Juan RP 2009-03-19 04:31:03 +01:00
parent e9d6a610a5
commit 0fb9525eee
4 changed files with 29 additions and 3 deletions

1
templates/libxkbfile-devel Symbolic link
View File

@ -0,0 +1 @@
libxkbfile

View File

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

View File

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

View File

@ -1,4 +1,6 @@
# Template build for 'libxkbfile'.
pkgname=libxkbfile
sourcepkg=$pkgname
version=1.0.5
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -7,6 +9,10 @@ checksum=0ab628271fc9cb6d05f861d9823573088d81d510aca95b87ac0504b2e558965f
long_desc="
The xkbfile library is from the modular X.org X11 project."
shared_deps="libX11-1.1 libXext-1.0"
build_depends="pkg-config-0.23 xproto-7.0 xextproto-7.0 ${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 full glibc
Add_dependency full libX11
Add_dependency full libXext