babl: new deps style, converted to subpkgs.

--HG--
extra : convert_revision : f8f729ff43ce6834486ae12be9ddba11a8a81953
This commit is contained in:
Juan RP 2009-05-13 09:10:44 +02:00
parent dad7a86466
commit 3fe0b51cb7
3 changed files with 26 additions and 5 deletions

1
templates/babl-devel Symbolic link
View file

@ -0,0 +1 @@
babl

View file

@ -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
}

View file

@ -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 <xtraeme@gmail.com>"
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