From 8e3347b7adfb6eaeb210c9d7d117182d164f57c7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Mar 2009 02:32:13 +0100 Subject: [PATCH] libXrender: converted to subpkgs, new deps style. --HG-- extra : convert_revision : c79828bc287140922c3677bad9898c9f590732ed --- templates/libXrender-devel | 1 + templates/libXrender/depends | 2 ++ templates/libXrender/devel.template | 17 +++++++++++++++++ templates/libXrender/template | 10 +++++++--- 4 files changed, 27 insertions(+), 3 deletions(-) create mode 120000 templates/libXrender-devel create mode 100644 templates/libXrender/depends create mode 100644 templates/libXrender/devel.template diff --git a/templates/libXrender-devel b/templates/libXrender-devel new file mode 120000 index 0000000000..58473c2cff --- /dev/null +++ b/templates/libXrender-devel @@ -0,0 +1 @@ +libXrender \ No newline at end of file diff --git a/templates/libXrender/depends b/templates/libXrender/depends new file mode 100644 index 0000000000..95fa9c3af5 --- /dev/null +++ b/templates/libXrender/depends @@ -0,0 +1,2 @@ +abi_depends=0.9.4 +api_depends=${abi_depends} diff --git a/templates/libXrender/devel.template b/templates/libXrender/devel.template new file mode 100644 index 0000000000..e15c9ac31a --- /dev/null +++ b/templates/libXrender/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libXrender-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libXrender + +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/libXrender/template b/templates/libXrender/template index dd5d8e58e1..fe1ca65474 100644 --- a/templates/libXrender/template +++ b/templates/libXrender/template @@ -1,4 +1,6 @@ +# Template build file for 'libXrender'. pkgname=libXrender +sourcepkg=$pkgname version=0.9.4 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure @@ -17,6 +19,8 @@ long_desc=" This is the modular X.org X11 project version." -shared_deps="libX11-1.1" -build_depends="pkg-config-0.23 renderproto-0.9 ${shared_deps}" -run_depends="glibc-2.8 ${shared_deps}" +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build renderproto +Add_dependency full glibc +Add_dependency full libX11