talimat 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Tanım: PostScript dili için bir yorumlayıcı
  2. # URL: http://www.ghostscript.com/awki
  3. # Paketçi: milisarge
  4. # Gerekler: glib atk libpng libjpeg-turbo libtiff jasper lcms2 gnutls cups
  5. # Grup: geliştirme
  6. isim=ghostscript
  7. surum=9.18
  8. devir=1
  9. kaynak=( http://repository.timesys.com/buildsources/g/ghostscript/ghostscript-9.18/ghostscript-9.18.tar.gz
  10. http://ghostscript.googlecode.com/files/ghostscript-fonts-std-8.11.tar.gz
  11. http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz )
  12. derle() {
  13. cd $isim-$surum
  14. sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac configure
  15. rm -rf freetype lcms2 jpeg libpng zlib
  16. ./configure --prefix=/usr \
  17. --enable-dynamic \
  18. --with-system-libtiff \
  19. --disable-compile-inits
  20. make
  21. make so
  22. make DESTDIR=$PKG install soinstall
  23. mkdir -p $PKG/usr/include/ghostscript
  24. mkdir -p $PKG/usr/share/doc/$isim-$surum
  25. install -v -m644 base/*.h $PKG/usr/include/ghostscript
  26. ln -v -s ghostscript $PKG/usr/include/ps
  27. ln -sv ../ghostscript/$surum/doc \
  28. $PKG/usr/share/doc/$isim-$surum
  29. cp -r $SRC/fonts $PKG/usr/share/ghostscript
  30. }