blob: 00e4716c763d5744af8e6a5773ab84e4252ec533 (
plain)
1 # Description: Image manipulation wizard
2 # URL: http://www.imagemagick.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: libtool lcms2 pango xorg-libxt chrpath
5
6 name=imagemagick
7 version=7.1.0-57
8 release=1
9 source=(https://imagemagick.org/archive/releases/ImageMagick-$version.tar.xz)
10
11 build () {
12 cd ImageMagick-$version
13
14 ./configure \
15 --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 # remove bogus workdir rpath from perl modules
25 find $PKG/usr/lib/perl5 -name '*.so' -exec chrpath -d {} +
26
27 # cleanup
28 rm -r $PKG/usr/share/doc
29 find $PKG -regex '.*\(ChangeLog\|LICENSE\|NEWS\.txt\)$' -delete
30 find $PKG -regex '.*\(\.packlist\|perllocal.pod\|\.bs\)$' -delete
31 find $PKG -type d -empty -delete
32 }
|