Commit 01d89235 authored by Natanael Copa's avatar Natanael Copa

main/imagemagick: backport fix for issue #243

parent 08ed2509
......@@ -10,7 +10,8 @@ license="GPL"
depends=
makedepends="zlib-dev libpng-dev jpeg-dev freetype-dev perl-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-$_pkgver.tar.gz"
source="http://ftp.nluug.nl/ImageMagick/ImageMagick-$_pkgver.tar.gz"
replaces="$pkgname-dev"
build() {
cd "$srcdir/ImageMagick-${_pkgver}"
......@@ -28,8 +29,20 @@ build() {
--without-x \
--with-modules
make || return 1
}
package() {
cd "$srcdir/ImageMagick-${_pkgver}"
make -j1 DESTDIR="$pkgdir" install
}
dev() {
default_dev
mv "$subpkgdir"/usr/lib/ImageMagick-6.5.5/modules-Q16/coders/*.la \
"$pkgdir"/usr/lib/ImageMagick-6.5.5/modules-Q16/coders/
mv "$subpkgdir"/usr/lib/ImageMagick-6.5.5/modules-Q16/filters/*.la \
"$pkgdir"/usr/lib/ImageMagick-6.5.5/modules-Q16/filters/
}
md5sums="60a529f858561b865f71a764c4a5f871 ImageMagick-6.5.5-6.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment