blob: 6a11e4b566fb1dc59ac510b50dcfd2ac889f54f3 (
plain)
1 # Description: Image manipulation wizard
2 # URL: http://www.imagemagick.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Packager: danm, maol, jaeger, sip
5 # Depends on: util-linux lcms2 pango xorg-libxt
6
7 name=imagemagick
8 version=7.0.7-22
9 release=2
10 source=(ftp://ftp.imagemagick.org/pub/ImageMagick/releases/ImageMagick-$version.tar.xz)
11
12 build () {
13 cd ImageMagick-$version
14
15 ./configure --prefix=/usr \
16 --enable-shared \
17 --with-modules \
18 --with-perl=yes \
19 --with-lcms=yes
20
21 make
22 make DESTDIR=$PKG install
23
24 # rebuild perl binding .so files to remove bogus workdir rpath
25 cd PerlMagick
26 find . -name '*.so' -delete
27 sed -i 's,LD_RUN_PATH="$(LD_RUN_PATH)" ,,' quantum/Makefile
28 make DESTDIR=$PKG install
29
30 rm -r $PKG/usr/share/doc
31 find $PKG -regex '.*\(ChangeLog\|LICENSE\|NEWS\.txt\)$' -delete
32 find $PKG -regex '.*\(\.packlist\|perllocal.pod\|\.bs\)$' -delete
33 find $PKG -type d -empty -delete
34 }
|