blob: 877b15aaea0cfbdde1eae74a1c7f63360b9b57a3 (
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.0.10-41
8 release=1
9 source=(https://www.imagemagick.org/download/releases/ImageMagick-$version.tar.xz)
10
11 build () {
12 cd ImageMagick-$version
13
14 ./configure --prefix=/usr \
15 --enable-shared \
16 --with-modules \
17 --with-perl=yes \
18 --with-lcms=yes
19
20 make
21 make DESTDIR=$PKG install
22
23 # remove bogus workdir rpath from perl modules
24 find $PKG/usr/lib/perl5 -name '*.so' -exec chrpath -d {} +
25
26 # cleanup
27 rm -r $PKG/usr/share/doc
28 find $PKG -regex '.*\(ChangeLog\|LICENSE\|NEWS\.txt\)$' -delete
29 find $PKG -regex '.*\(\.packlist\|perllocal.pod\|\.bs\)$' -delete
30 find $PKG -type d -empty -delete
31 }
|