# Description: Postscript interpreter # URL: http://www.ghostscript.com # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: util-linux-ng, cups, fontconfig, xorg-libxt, xorg-libxext name=ghostscript version=9.02 release=1 source=(http://downloads.ghostscript.com/public/$name-$version.tar.bz2 http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz) build () { cd $name-$version ./configure --prefix=/usr \ --mandir=/usr/man \ --enable-cups \ --disable-gtk \ --with-drivers=ALL \ --with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts make -j1 so all make DESTDIR=$PKG install-so install cp -r $SRC/fonts $PKG/usr/share/ghostscript rm -r $PKG/usr/{share/ghostscript/$version/{examples,doc},man/de} rm $PKG/usr/share/ghostscript/fonts/[CRT]* }