talimat 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Description: İmaj dosyaları için görüntüleme/düzenleme programı
  2. # URL: URL: http://www.imagemagick.org/
  3. # Packager: milisarge
  4. # Depends on: freetype ghostscript lcms libgsf giflib libxml2 openexr libwmf libpng librsvg libwebp djvulibre
  5. name=imagemagick
  6. version=6.9.3-6
  7. release=1
  8. _version=6.9.3-6
  9. source=(https://launchpad.net/imagemagick/main/6.9.3-6/+download/ImageMagick-$version.tar.gz)
  10. build () {
  11. cd ImageMagick-*
  12. [ "`uname -m`" == "i686" ] && EXTRAOPTS="--with-gcc-arch=i686"
  13. [ "`uname -m`" == "x86_64" ] && EXTRAOPTS="--with-gcc-arch=x86-64"
  14. sed '/AC_PATH_XTRA/d' -i configure.ac
  15. ./configure --prefix=/usr \
  16. --enable-static=no \
  17. --enable-shared \
  18. --with-webp \
  19. --with-gslib \
  20. --with-perl \
  21. --with-perl-options="INSTALLDIRS=vendor" \
  22. --with-x \
  23. --with-frozenpaths=no \
  24. --with-modules \
  25. --disable-openmp \
  26. --enable-hdri \
  27. --with-wmf \
  28. --with-gs-font-dir=/usr/share/fonts/Type1 \
  29. --with-lqr \
  30. --with-rsvg \
  31. --enable-opencl \
  32. --with-openjp2 \
  33. $EXTRAOPTS
  34. make
  35. make DESTDIR=$PKG install
  36. find $PKG -name perllocal.pod -exec rm {} \;
  37. }