From bc2db09514c270c16502209e12426478652a7d03 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 29 Jan 2012 01:17:20 +0100 Subject: ghostscript 9.04-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ghostscript/Pkgfile | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'ghostscript/Pkgfile') diff --git a/ghostscript/Pkgfile b/ghostscript/Pkgfile index 45d1e1dd4..0ae959e9d 100755 --- a/ghostscript/Pkgfile +++ b/ghostscript/Pkgfile @@ -6,29 +6,41 @@ # Run on: libcups,fontconfig,kerberos name=ghostscript -version=9.02 +version=9.04 release=1 -source=( http://downloads.ghostscript.com/public/$name-$version.tar.gz \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz\ - http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz ) +source=(http://downloads.ghostscript.com/public/$name-$version.tar.gz + ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz + http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz + ghostscript-cups-rgbw.patch) build() { unset MAKEFLAGS cd $name-$version + patch -p1 < ../ghostscript-cups-rgbw.patch + rm -rf jpeg libpng zlib jasper expat tiff lcms freetype cd ijs ./autogen.sh ./configure --prefix=/usr --enable-shared --disable-static make make DESTDIR=$PKG install - cd .. - ./configure --prefix=/usr --enable-dynamic --with-ijs \ - --with-jbig2dec --with-omni --without-x --with-drivers=ALL \ + + ./configure --prefix=/usr \ + --enable-dynamic \ + --enable-fontconfig \ + --enable-freetype \ + --disable-compile-inits \ + --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 DESTDIR=$PKG install soinstall + make cups_serverroot=$PKG/etc/cups cups_serverbin=$PKG/usr/lib/cups DESTDIR=$PKG install soinstall cp -r $SRC/fonts $PKG/usr/share/ghostscript } -- cgit v1.2.3-54-g00ecf