diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 07:09:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 07:09:56 +0000 |
commit | 66f1463a36f397cc142f861d7327586ce9e59730 (patch) | |
tree | d864b930f9edd3c93a857c3c46892fe2a8a3ae00 /main/imagemagick/APKBUILD | |
parent | 151bdfe1775c0b9ed6782bde97c5e9fb5353d0d6 (diff) | |
download | aports-66f1463a36f397cc142f861d7327586ce9e59730.tar.bz2 aports-66f1463a36f397cc142f861d7327586ce9e59730.tar.xz |
main/imagemagick: upgrade to 6.7.0.0
and enable libwebp support
Diffstat (limited to 'main/imagemagick/APKBUILD')
-rw-r--r-- | main/imagemagick/APKBUILD | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD index d232ba27d7..0e6b686893 100644 --- a/main/imagemagick/APKBUILD +++ b/main/imagemagick/APKBUILD @@ -1,17 +1,28 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=imagemagick -pkgver=6.6.9.9 +pkgver=6.7.0.0 _pkgver=${pkgver%.*}-${pkgver##*.} -pkgrel=1 +pkgrel=0 pkgdesc="A collection of tools and libraries for many image formats" url="http://www.imagemagick.org/" arch="all" license="GPL" depends= -makedepends="zlib-dev libpng-dev jpeg-dev freetype-dev perl-dev ghostscript-dev" +makedepends="zlib-dev libpng-dev jpeg-dev freetype-dev perl-dev ghostscript-dev + libwebp-dev" subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx" -source="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-$_pkgver.tar.gz" +source="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-$_pkgver.tar.gz + locale.patch" + +prepare() { + cd "$srcdir/ImageMagick-${_pkgver}" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} build() { cd "$srcdir/ImageMagick-${_pkgver}" @@ -54,4 +65,5 @@ _cxx() { mv "$pkgdir"/usr/lib/libMagick++.so.* "$subpkgdir"/usr/lib/ } -md5sums="3b240b7316a96cd6a168c14fe670eafc ImageMagick-6.6.9-9.tar.gz" +md5sums="f845395f6b1c849462c2d55357d8d863 ImageMagick-6.7.0-0.tar.gz +d8aac6ac384d32184b21bbf0a0e8c57e locale.patch" |