From 2081742f24fc171d4bf1d2419e054f8555081e4f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Mar 2009 04:40:14 +0100 Subject: [PATCH] pixman: update to 0.14.0, converted to subpkgs, new deps style. --HG-- extra : convert_revision : 4c1bbc56db1e3b5b5e3084102805657744e4f409 --- templates/pixman-devel | 1 + templates/pixman/depends | 2 ++ templates/pixman/devel.template | 17 +++++++++++++++++ templates/pixman/template | 14 +++++++++----- 4 files changed, 29 insertions(+), 5 deletions(-) create mode 120000 templates/pixman-devel create mode 100644 templates/pixman/depends create mode 100644 templates/pixman/devel.template diff --git a/templates/pixman-devel b/templates/pixman-devel new file mode 120000 index 00000000000..9176382f9b7 --- /dev/null +++ b/templates/pixman-devel @@ -0,0 +1 @@ +pixman \ No newline at end of file diff --git a/templates/pixman/depends b/templates/pixman/depends new file mode 100644 index 00000000000..f161d95f7c4 --- /dev/null +++ b/templates/pixman/depends @@ -0,0 +1,2 @@ +abi_depends=0.14.0 +api_depends=${abi_depends} diff --git a/templates/pixman/devel.template b/templates/pixman/devel.template new file mode 100644 index 00000000000..9904077ebd9 --- /dev/null +++ b/templates/pixman/devel.template @@ -0,0 +1,17 @@ +# Template file for 'pixman-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pixman + +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/pixman/template b/templates/pixman/template index 38e13375098..2da5f653309 100644 --- a/templates/pixman/template +++ b/templates/pixman/template @@ -1,12 +1,16 @@ # Template build file for 'pixman'. pkgname=pixman -version=0.12.0 -distfiles=" -http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$version.tar.bz2" +sourcepkg=$pkgname +version=0.14.0 +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure -pkgconfig_override="pixman-1.pc" short_desc="Library of low-level pixel manipulation routines" maintainer="Juan RP " -checksum=7881189a1de21ec5d2e27936c65369f121dcb15f +checksum=eb6d14a582cd5055c52e8278641984c17945a8693733214a5d5a10b4f849ca4d long_desc=" Pixel manipulation library for modular X.org." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build perl +Add_dependency full glibc