From 6ab2bd0bbae4c2fc1591c7d0c018b0448c414855 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Mar 2009 01:43:04 +0100 Subject: [PATCH] libICE: update to 1.0.5, converted to subpkgs, new deps style. --HG-- extra : convert_revision : 2d1b9e91f3d9992f1b5c38a6462ddfb3f808aaad --- templates/libICE-devel | 1 + templates/libICE/depends | 2 ++ templates/libICE/devel.template | 17 +++++++++++++++++ templates/libICE/template | 12 ++++++++---- 4 files changed, 28 insertions(+), 4 deletions(-) create mode 120000 templates/libICE-devel create mode 100644 templates/libICE/depends create mode 100644 templates/libICE/devel.template diff --git a/templates/libICE-devel b/templates/libICE-devel new file mode 120000 index 00000000000..785231c596d --- /dev/null +++ b/templates/libICE-devel @@ -0,0 +1 @@ +libICE \ No newline at end of file diff --git a/templates/libICE/depends b/templates/libICE/depends new file mode 100644 index 00000000000..f847cf49272 --- /dev/null +++ b/templates/libICE/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.5 +api_depends=${abi_depends} diff --git a/templates/libICE/devel.template b/templates/libICE/devel.template new file mode 100644 index 00000000000..e9b1ec02231 --- /dev/null +++ b/templates/libICE/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libICE-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libICE + +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/libICE/template b/templates/libICE/template index 1046a3535e1..ef6a7e711ef 100644 --- a/templates/libICE/template +++ b/templates/libICE/template @@ -1,15 +1,19 @@ +# Template build file for 'libICE'. pkgname=libICE -version=1.0.4 +sourcepkg=$pkgname +version=1.0.5 distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure short_desc="Inter Client Exchange (ICE) library for X" maintainer="Juan RP " -checksum=13055e2f4c645cbd135ce97a7974a5866f9ba3ed8988e686b552f55c30514f04 +checksum=2fba2c850bf2f60fc2a423438188b04439d149a7e81d8433264f0613ebb7be3a long_desc=" This package contains library and header files for the ICE extension for X. This is the Inter Client Exchange library. This is part of modular X.org project." -build_depends="pkg-config-0.23 xtrans-1.2" -run_depends="glibc-2.8" +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build xtrans +Add_dependency full glibc