wok-current rev 3601

cups: Dependencies loop with ghostscript
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 28 22:45:10 2009 +0200 (2009-06-28)
parents bbc5a7a78a11
children c982ededd96c
files cups/receipt
line diff
     1.1 --- a/cups/receipt	Sun Jun 28 22:26:44 2009 +0200
     1.2 +++ b/cups/receipt	Sun Jun 28 22:45:10 2009 +0200
     1.3 @@ -5,7 +5,8 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Common UNIX Printing System."
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="openssl slitaz-base-files gnutls ghostscript dbus jpeg libpng tiff zlib libcomerr libkrb5"
     1.8 +DEPENDS="openssl slitaz-base-files gnutls dbus jpeg libpng tiff zlib \
     1.9 +libcomerr libkrb5"
    1.10  BUILD_DEPENDS="openssl-dev gnutls-dev dbus-dev gnutls"
    1.11  TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
    1.12  WEB_SITE="http://www.cups.org/"
    1.13 @@ -30,14 +31,14 @@
    1.14  		$CONFIGURE_ARGS &&
    1.15  	make &&
    1.16  	make BUILDROOT=$PWD/_pkg install
    1.17 -	
    1.18 +
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/etc $fs/usr/lib $fs/usr/share/pixmaps
    1.25 -	
    1.26 +
    1.27  	cp -a $_pkg/etc/cups $fs/etc
    1.28  	cp -a $_pkg/etc/dbus* $fs/etc
    1.29  	cp -a $_pkg/usr/bin $fs/usr
    1.30 @@ -46,23 +47,23 @@
    1.31  	cp -a $_pkg/usr/lib/cups $fs/usr/lib
    1.32  	cp -a $_pkg/usr/share/cups $fs/usr/share
    1.33  	cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/cups.png $fs/usr/share/pixmaps
    1.34 -	cp -a $_pkg/var $fs	
    1.35 -	
    1.36 +	cp -a $_pkg/var $fs
    1.37 +
    1.38  	# We need the doc for CSS, images and help in the web interface.
    1.39  	cp -a $_pkg/usr/share/doc $fs/usr/share
    1.40 -	
    1.41 +
    1.42  	# tazwok does not strip files other than .so in usr/lib
    1.43 -		
    1.44 +
    1.45  	for dir in $fs/usr/lib/cups
    1.46  	do
    1.47  		if [ -d "$dir" ]; then
    1.48  			find $dir -type f -exec strip -s '{}' 2>/dev/null \;
    1.49  		fi
    1.50  	done
    1.51 -	
    1.52 +
    1.53  	# Daemon script
    1.54  	cp -a stuff/etc $fs
    1.55 -	
    1.56 +
    1.57  	# compress some driver files, adopted from arch and fedora
    1.58      find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
    1.59