44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
|
# Description: An image viewing/manipulation program
|
||
|
# URL: URL: http://www.imagemagick.org/
|
||
|
# NuTyX Pkgfile (http://nutyx.org)
|
||
|
# Packager: # NuTyX Pkgfile (http://nutyx.org)
|
||
|
# Depends on: freetype ghostscript lcms libgsf giflib libxml2 openexr libwmf libpng librsvg libwebp djvulibre
|
||
|
|
||
|
name=imagemagick
|
||
|
version=6.9.3.0
|
||
|
release=1
|
||
|
_version=6.9.3-0
|
||
|
source=(ftp://ftp.imagemagick.org/pub/ImageMagick/releases/ImageMagick-${_version}.tar.xz)
|
||
|
|
||
|
build () {
|
||
|
cd ImageMagick-*
|
||
|
|
||
|
[ "`uname -m`" == "i686" ] && EXTRAOPTS="--with-gcc-arch=i686"
|
||
|
[ "`uname -m`" == "x86_64" ] && EXTRAOPTS="--with-gcc-arch=x86-64"
|
||
|
|
||
|
sed '/AC_PATH_XTRA/d' -i configure.ac
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--enable-static=no \
|
||
|
--enable-shared \
|
||
|
--with-webp \
|
||
|
--with-gslib \
|
||
|
--with-perl \
|
||
|
--with-perl-options="INSTALLDIRS=vendor" \
|
||
|
--with-x \
|
||
|
--with-frozenpaths=no \
|
||
|
--with-modules \
|
||
|
--disable-openmp \
|
||
|
--enable-hdri \
|
||
|
--with-wmf \
|
||
|
--with-gs-font-dir=/usr/share/fonts/Type1 \
|
||
|
--with-lqr \
|
||
|
--with-rsvg \
|
||
|
--enable-opencl \
|
||
|
--with-openjp2 \
|
||
|
$EXTRAOPTS
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
find $PKG -name perllocal.pod -exec rm {} \;
|
||
|
}
|