wok diff ghostscript/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents 8e4c74abdf74
children b62f93de1a4e
line diff
     1.1 --- a/ghostscript/receipt	Mon Jan 02 23:06:19 2012 +0100
     1.2 +++ b/ghostscript/receipt	Mon Apr 14 19:59:46 2014 +0200
     1.3 @@ -5,16 +5,17 @@
     1.4  CATEGORY="office"
     1.5  SHORT_DESC="Ghostscript tools and utilities."
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 +LICENSE="GPL3"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9 +WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
    1.10 +#WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
    1.11 +WGET_URL="http://downloads.ghostscript.com/public/$TARBALL"
    1.12 +
    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 jasper jbig2dec" 
    1.16  # build depends are optional ; ghostscripts still build but does not compile in cups support
    1.17  BUILD_DEPENDS="cairo-dev gtk+-dev expat-dev fontconfig-dev freetype-dev gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev zlib-dev cups-dev jbig2dec jasper-dev"
    1.18 -WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
    1.19 -#WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
    1.20 -WGET_URL="http://downloads.ghostscript.com/public/$TARBALL"
    1.21 -
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -38,7 +39,7 @@
    1.26  		--disable-compile-inits \
    1.27  		$CONFIGURE_ARGS &&
    1.28  	make $MAKEFLAGS &&
    1.29 -	make DESTDIR=$PWD/_pkg install soinstall
    1.30 +	make DESTDIR=$DESTDIR install soinstall
    1.31  	
    1.32  }
    1.33  
    1.34 @@ -47,12 +48,12 @@
    1.35  {
    1.36  	mkdir -p $fs/usr/share
    1.37  	mkdir -p $fs/usr/lib
    1.38 -	cp -a $_pkg/usr/bin $fs/usr
    1.39 -	cp -a $_pkg/usr/lib $fs/usr
    1.40 -	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.41 +	cp -a $install/usr/bin $fs/usr
    1.42 +	cp -a $install/usr/lib $fs/usr
    1.43 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.44  	# if cups-dev installed
    1.45 -	cp -a $_pkg/usr/share/cups $fs/usr/share
    1.46 -	cp -a $_pkg/etc $fs
    1.47 +	cp -a $install/usr/share/cups $fs/usr/share
    1.48 +	cp -a $install/etc $fs
    1.49  	# Remove doc and examples
    1.50  	rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
    1.51  	rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples