# Description: Permet le rendu des documents Postscripts vers différentes cibles # URL: http://www.ghostscript.com/awki # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: libtool, libcups, fontconfig, kerberos, xorg-libxrandr, xorg-libxcursor, xorg-libxinerama, xorg-libxdamage # Run on: libcups,fontconfig,kerberos name=ghostscript version=9.05 release=1 source=(http://downloads.ghostscript.com/public/$name-$version.tar.gz http://ghostscript.googlecode.com/files/ghostscript-fonts-std-8.11.tar.gz http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz) build() { unset MAKEFLAGS cd $name-$version rm -rf jpeg libpng zlib jasper expat tiff lcms freetype cd ijs ./autogen.sh ./configure --prefix=/usr \ --enable-shared make make DESTDIR=$PKG install cd .. ./configure --prefix=/usr \ --enable-dynamic \ --enable-fontconfig \ --enable-freetype \ --disable-compile-inits \ --with-system-libtiff \ --with-ijs \ --with-jbig2dec \ --with-omni \ --with-x \ --with-install-cups \ --with-drivers=ALL \ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts make make cups_serverroot=$PKG/etc/cups cups_serverbin=$PKG/usr/lib/cups DESTDIR=$PKG install soinstall cp -r $SRC/fonts $PKG/usr/share/ghostscript }