2006-02-23 16:26:10 +01:00
|
|
|
# Description: Image manipulation wizard
|
2009-11-23 17:40:21 +01:00
|
|
|
# URL: http://www.imagemagick.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2020-07-22 11:34:11 +02:00
|
|
|
# Depends on: libtool lcms2 pango xorg-libxt chrpath
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=imagemagick
|
2020-10-13 13:15:15 +02:00
|
|
|
version=7.0.10-34
|
2019-06-24 12:57:41 +02:00
|
|
|
release=1
|
2018-06-13 09:41:14 +02:00
|
|
|
source=(https://www.imagemagick.org/download/releases/ImageMagick-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
2010-11-22 17:52:07 +01:00
|
|
|
cd ImageMagick-$version
|
2009-01-23 17:13:58 +01:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2009-11-23 17:40:21 +01:00
|
|
|
--enable-shared \
|
2016-01-14 13:48:21 +01:00
|
|
|
--with-modules \
|
2014-08-20 12:26:43 +02:00
|
|
|
--with-perl=yes \
|
2018-02-11 05:25:44 +01:00
|
|
|
--with-lcms=yes
|
2009-01-23 17:13:58 +01:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
2009-11-23 17:40:21 +01:00
|
|
|
make DESTDIR=$PKG install
|
2009-01-23 17:13:58 +01:00
|
|
|
|
2019-08-19 14:17:31 +02:00
|
|
|
# remove bogus workdir rpath from perl modules
|
|
|
|
find $PKG/usr/lib/perl5 -name '*.so' -exec chrpath -d {} +
|
2018-02-11 05:25:44 +01:00
|
|
|
|
2019-08-19 14:17:31 +02:00
|
|
|
# cleanup
|
2009-11-23 17:40:21 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
find $PKG -regex '.*\(ChangeLog\|LICENSE\|NEWS\.txt\)$' -delete
|
|
|
|
find $PKG -regex '.*\(\.packlist\|perllocal.pod\|\.bs\)$' -delete
|
2009-01-23 17:13:58 +01:00
|
|
|
find $PKG -type d -empty -delete
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|