wok diff ghostscript/receipt @ rev 18725

lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 18 13:20:19 2015 +0000 (2015-12-18)
parents 7bb096863642
children ff236a1ecca5
line diff
     1.1 --- a/ghostscript/receipt	Sat Sep 14 17:06:00 2013 +0000
     1.2 +++ b/ghostscript/receipt	Fri Dec 18 13:20:19 2015 +0000
     1.3 @@ -15,12 +15,13 @@
     1.4  libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
     1.5  xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" 
     1.6  # build depends are optional ; ghostscripts still build but does not compile in cups support
     1.7 -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.8 +BUILD_DEPENDS="cairo-dev gtk+-dev expat-dev fontconfig-dev freetype-dev \
     1.9 +gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \
    1.10 +zlib-dev cups-dev jbig2dec jasper-dev"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	cd $src
    1.16  	# force it to use system-libs
    1.17  	rm -rf jpeg libpng zlib jasper expat tiff
    1.18  
    1.19 @@ -40,7 +41,6 @@
    1.20  		$CONFIGURE_ARGS &&
    1.21  	make $MAKEFLAGS &&
    1.22  	make DESTDIR=$DESTDIR install soinstall
    1.23 -	
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 @@ -66,5 +66,5 @@
    1.28  
    1.29  post_install()
    1.30  {
    1.31 -	ln -s /usr/bin/gsc $1/usr/bin/gs
    1.32 +	ln -sf /usr/bin/gsc "$1/usr/bin/gs"
    1.33  }