# Description: Postscript interpreter # URL: http://www.ghostscript.com # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: util-linux, cups, fontconfig, xorg-libxt, xorg-libxext name=ghostscript version=9.06 release=3 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 \ --with-install-cups \ --disable-gtk \ --disable-dbus \ --with-drivers=ALL \ --with-ijs \ --with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts make so all make DESTDIR=$PKG install-so install cd ijs # automake 1.13 sed -i '120s/^/dnl /' configure.ac ./autogen.sh ./configure --prefix=/usr --mandir=/usr/man --enable-shared make make DESTDIR=$PKG 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]* rm $PKG/usr/bin/ijs_{client,server}_example }