From 3fe0b51cb742afcd64fed67b703dda870fb63766 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 13 May 2009 09:10:44 +0200 Subject: [PATCH] babl: new deps style, converted to subpkgs. --HG-- extra : convert_revision : f8f729ff43ce6834486ae12be9ddba11a8a81953 --- templates/babl-devel | 1 + templates/babl/devel.template | 19 +++++++++++++++++++ templates/babl/template | 11 ++++++----- 3 files changed, 26 insertions(+), 5 deletions(-) create mode 120000 templates/babl-devel create mode 100644 templates/babl/devel.template diff --git a/templates/babl-devel b/templates/babl-devel new file mode 120000 index 00000000000..61658c2beeb --- /dev/null +++ b/templates/babl-devel @@ -0,0 +1 @@ +babl \ No newline at end of file diff --git a/templates/babl/devel.template b/templates/babl/devel.template new file mode 100644 index 00000000000..22a0d5e75e3 --- /dev/null +++ b/templates/babl/devel.template @@ -0,0 +1,19 @@ +# Template file for 'babl-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run babl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mkdir -p ${DESTDIR}/usr/bin + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib +} diff --git a/templates/babl/template b/templates/babl/template index 40eb5a1bbb4..642530c3f82 100644 --- a/templates/babl/template +++ b/templates/babl/template @@ -1,13 +1,12 @@ # Template build file for 'babl'. pkgname=babl +sourcepkg=$pkgname version=0.0.22 distfiles="ftp://ftp.gtk.org/pub/babl/0.0/$pkgname-$version.tar.bz2" build_style=gnu_configure -make_cmd="$XBPS_MASTERDIR/bin/gmake" -pkgconfig_override="babl.pc" short_desc="Dynamic pixel format translation library" maintainer="Juan RP " -checksum=a10c07e70f1fe8944a969bba46484acf410c2583 +checksum=1a8437e714cf48bdfd24a3c1db218826eea5737514b99482014d93a8935b0f6d long_desc=" babl is a dynamic, any to any, pixel format translation library. @@ -16,5 +15,7 @@ long_desc=" representations, color models and component permutations. A vocabulary to formulate new pixel formats from existing primitives is - provided as well as the framework to add new color models and data - types." + provided as well as the framework to add new color models and data types." + +subpackages="devel" +Add_dependency run glibc