diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-12 17:22:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-12 17:32:43 +0000 |
commit | 691517799ed1a53d18b9065dd424104ce94c4756 (patch) | |
tree | 259e26b91bcc13920b500661c6ebf47a5123020a /main | |
parent | 875f276f29721f6a373b3601fe9835fe440724ec (diff) | |
download | aports-691517799ed1a53d18b9065dd424104ce94c4756.tar.bz2 aports-691517799ed1a53d18b9065dd424104ce94c4756.tar.xz |
main/imagemagick: upgrade to 6.7.4.6
Diffstat (limited to 'main')
-rw-r--r-- | main/imagemagick/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD index 11f189d3c..9616e2326 100644 --- a/main/imagemagick/APKBUILD +++ b/main/imagemagick/APKBUILD @@ -1,7 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=imagemagick -pkgver=6.7.4.4 +pkgver=6.7.4.6 +_abiver=5 _pkgver=${pkgver%.*}-${pkgver##*.} pkgrel=0 pkgdesc="A collection of tools and libraries for many image formats" @@ -13,7 +14,7 @@ options="libtool" 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.xz" prepare() { cd "$srcdir/ImageMagick-${_pkgver}" @@ -47,6 +48,11 @@ build() { package() { cd "$srcdir/ImageMagick-${_pkgver}" make -j1 DESTDIR="$pkgdir" install + if ! [ -e "$pkgdir"/usr/lib/libMagickCore.so.$_abiver ]; then + error "Has ABI verision changed? (current is $_abiver)" + return 1 + fi + find "$pkgdir" -name '.packlist' -o -name 'perllocal.pod' \ -o -name '*.bs' -delete } @@ -57,4 +63,4 @@ _cxx() { mv "$pkgdir"/usr/lib/libMagick++.so.* "$subpkgdir"/usr/lib/ } -md5sums="f62f6a136b5de692dda3d5318656e731 ImageMagick-6.7.4-4.tar.gz" +md5sums="15a4ce3cea85333dcd1bb7bacf88049e ImageMagick-6.7.4-6.tar.xz" |