34 lines
816 B
Plaintext
34 lines
816 B
Plaintext
# URL: http://imagemagick.sourceforge.net/
|
|
# Description: Image manipulation wizard.
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: danm, maol, jaeger
|
|
# Depends on: ghostscript jasper lcms librsvg libungif openexr libwmf
|
|
|
|
name=imagemagick
|
|
sname=ImageMagick
|
|
version=6.4.8-5
|
|
release=1
|
|
source=(ftp://ftp.imagemagick.net/pub/$sname/$sname-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $sname-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-static \
|
|
--with-perl
|
|
|
|
make
|
|
install -d $PKG/usr/
|
|
make DESTDIR=$PKG PREFIX=$PKG/usr install
|
|
|
|
rm -r $PKG/usr/lib/perl5/?.??.? # empty directory
|
|
rm -r $PKG/usr/share/doc
|
|
rm $PKG/usr/share/ImageMagick-${version/-*}/{ChangeLog,LICENSE,NEWS.txt}
|
|
|
|
find $PKG -type f \( \
|
|
-name perllocal.pod -o \
|
|
-name .packlist \) -delete
|
|
}
|