From 0fb9525eee575558c7c14cd8b1cfd97dcbdf9f6e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Mar 2009 04:31:03 +0100 Subject: [PATCH] libxkbfile: converted to subpkgs, new deps style. --HG-- extra : convert_revision : 054ae15eeaf0c5dd6255bf46a50e1a83ed1ed2cb --- templates/libxkbfile-devel | 1 + templates/libxkbfile/depends | 2 ++ templates/libxkbfile/devel.template | 17 +++++++++++++++++ templates/libxkbfile/template | 12 +++++++++--- 4 files changed, 29 insertions(+), 3 deletions(-) create mode 120000 templates/libxkbfile-devel create mode 100644 templates/libxkbfile/depends create mode 100644 templates/libxkbfile/devel.template diff --git a/templates/libxkbfile-devel b/templates/libxkbfile-devel new file mode 120000 index 00000000000..cb35690aa42 --- /dev/null +++ b/templates/libxkbfile-devel @@ -0,0 +1 @@ +libxkbfile \ No newline at end of file diff --git a/templates/libxkbfile/depends b/templates/libxkbfile/depends new file mode 100644 index 00000000000..f847cf49272 --- /dev/null +++ b/templates/libxkbfile/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.5 +api_depends=${abi_depends} diff --git a/templates/libxkbfile/devel.template b/templates/libxkbfile/devel.template new file mode 100644 index 00000000000..316d43bf0b8 --- /dev/null +++ b/templates/libxkbfile/devel.template @@ -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 +} diff --git a/templates/libxkbfile/template b/templates/libxkbfile/template index c3c9fb19825..55abaefc2fd 100644 --- a/templates/libxkbfile/template +++ b/templates/libxkbfile/template @@ -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