milis/talimatname/genel/imagemagick/talimat

43 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-01-31 02:35:21 +01:00
# Description: İmaj dosyaları için görüntüleme/düzenleme programı
2016-02-24 01:27:23 +01:00
# URL: URL: http://www.imagemagick.org/
2016-06-02 11:28:24 +02:00
# Packager: milisarge
2017-01-31 02:35:21 +01:00
# Depends on: freetype ghostscript lcms libgsf giflib libxml2 openexr libwmf libpng librsvg libwebp djvulibre
2016-02-24 01:27:23 +01:00
name=imagemagick
2016-03-05 21:01:31 +01:00
version=6.9.3-6
2016-02-24 01:27:23 +01:00
release=1
2016-03-05 21:01:31 +01:00
_version=6.9.3-6
source=(https://launchpad.net/imagemagick/main/6.9.3-6/+download/ImageMagick-$version.tar.gz)
2016-02-24 01:27:23 +01:00
build () {
cd ImageMagick-*
[ "`uname -m`" == "i686" ] && EXTRAOPTS="--with-gcc-arch=i686"
[ "`uname -m`" == "x86_64" ] && EXTRAOPTS="--with-gcc-arch=x86-64"
2017-01-31 02:35:21 +01:00
2016-02-24 01:27:23 +01:00
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 {} \;
}