wok diff ghostscript/receipt @ rev 7079

Fixed snort and libdaq to uncompress TARBALL as tar.gz instead of tar.bz2.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 02 17:58:41 2010 +0000 (2010-11-02)
parents a4eeecddb37a
children 94fbabafc8d7
line diff
     1.1 --- a/ghostscript/receipt	Fri Sep 17 02:20:38 2010 +0000
     1.2 +++ b/ghostscript/receipt	Tue Nov 02 17:58:41 2010 +0000
     1.3 @@ -1,16 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ghostscript"
     1.7 -VERSION="8.71"
     1.8 +VERSION="9.00"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Ghostscript tools and utilities."
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13  DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \
    1.14  libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    1.15 -xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base" 
    1.16 +xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper" 
    1.17  # build depends are optional ; ghostscripts still build but does not compile in cups support
    1.18 -BUILD_DEPENDS="cairo-dev gtk+-dev xorg-dev expat-dev fontconfig-dev freetype-dev gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev zlib-dev cups-dev"
    1.19 +BUILD_DEPENDS="cairo-dev gtk+-dev xorg-dev expat-dev fontconfig-dev freetype-dev gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev zlib-dev cups-dev jasper-dev"
    1.20  WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
    1.21  #WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
    1.22  WGET_URL="http://ghostscript.com/releases/$TARBALL"
    1.23 @@ -20,6 +20,14 @@
    1.24  compile_rules()
    1.25  {
    1.26  	cd $src
    1.27 +	# force it to use system-libs
    1.28 +	rm -rf jpeg libpng zlib jasper expat
    1.29 +
    1.30 +	# fix build with system jasper
    1.31 +	patch -Np1 -i ../stuff/ghostscript-system-jasper.patch
    1.32 +
    1.33 +	# --disable-compile-inits is needed for linking with system-zlib
    1.34 +
    1.35  	./configure \
    1.36  		--prefix=/usr \
    1.37  		--infodir=/usr/share/info \
    1.38 @@ -30,6 +38,7 @@
    1.39  		--enable-cairo \
    1.40  		--enable-gtk \
    1.41  		--with-fontpath=/usr/share/fonts/truetype/:/usr/share/fonts \
    1.42 +		--disable-compile-inits \
    1.43  		$CONFIGURE_ARGS &&
    1.44  	make -j 4 &&
    1.45  	make DESTDIR=$PWD/_pkg install soinstall