opt/imagemagick/Pkgfile

32 lines
901 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Image manipulation wizard
# 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-11-01 13:18:09 +01:00
version=7.0.10-35
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 \
--enable-shared \
--with-modules \
--with-perl=yes \
--with-lcms=yes
2009-01-23 17:13:58 +01:00
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2009-01-23 17:13:58 +01:00
# remove bogus workdir rpath from perl modules
find $PKG/usr/lib/perl5 -name '*.so' -exec chrpath -d {} +
# cleanup
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
}