diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-28 13:46:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-28 13:47:50 +0000 |
commit | 1e95fa6d06b7c11a07d3a6f3083fb78621b810c7 (patch) | |
tree | 2694738f1e8829bc3b3ab796dc295ee3eb9fada7 /main/cairo/APKBUILD | |
parent | 6a8740715b7d5816981260309359c362ca989261 (diff) | |
download | aports-1e95fa6d06b7c11a07d3a6f3083fb78621b810c7.tar.bz2 aports-1e95fa6d06b7c11a07d3a6f3083fb78621b810c7.tar.xz |
main/cairo: rebuild against libpng-1.4
Diffstat (limited to 'main/cairo/APKBUILD')
-rw-r--r-- | main/cairo/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD index 4e2183a0e7..8bd0adc4b7 100644 --- a/main/cairo/APKBUILD +++ b/main/cairo/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cairo pkgver=1.8.8 -pkgrel=0 +pkgrel=1 pkgdesc="Cairo vector graphics library" url="http://cairographics.org/" license="LGPL MPL" @@ -14,15 +14,20 @@ depends_dev="fontconfig-dev freetype-dev libpng-dev libxrender-dev pixman-dev xcb-util-dev" source="http://cairographics.org/releases/$pkgname-$pkgver.tar.gz" -build () -{ - cd ""$srcdir"/$pkgname-$pkgver" +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + sed -i -e 's/libpng13/libpng14/g' configure || return 1 ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-xcb \ --disable-static || return 1 make || return 1 - make DESTDIR=""$pkgdir"" install || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 } md5sums="d3e1a1035ae563812d4dd44a74fb0dd0 cairo-1.8.8.tar.gz" |