2006-02-23 16:26:10 +01:00
|
|
|
# Description: Image manipulation wizard
|
2021-02-01 17:57:51 +01:00
|
|
|
# URL: http://www.imagemagick.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: libtool lcms2 pango xorg-libxt chrpath
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=imagemagick
|
2021-11-01 13:38:54 +01:00
|
|
|
version=7.1.0-13
|
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 () {
|
2021-02-01 17:57:51 +01:00
|
|
|
cd ImageMagick-$version
|
2009-01-23 17:13:58 +01:00
|
|
|
|
2021-02-01 17:57:51 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-shared \
|
|
|
|
--with-modules \
|
|
|
|
--with-perl=yes \
|
|
|
|
--with-lcms=yes
|
2009-01-23 17:13:58 +01:00
|
|
|
|
2021-02-01 17:57:51 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-01-23 17:13:58 +01:00
|
|
|
|
2021-02-01 17:57:51 +01: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
|
|
|
|
2021-02-01 17:57:51 +01:00
|
|
|
# cleanup
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
find $PKG -regex '.*\(ChangeLog\|LICENSE\|NEWS\.txt\)$' -delete
|
|
|
|
find $PKG -regex '.*\(\.packlist\|perllocal.pod\|\.bs\)$' -delete
|
|
|
|
find $PKG -type d -empty -delete
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|