talimat 1.1 KB

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