talimat 1.4 KB

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