wok-6.x rev 15928

cups: fix install file in /
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 11:22:36 2014 +0100 (2014-02-22)
parents c44a7d2a11ed
children 45e18b828d5e
files cups-pam/receipt cups/receipt
line diff
     1.1 --- a/cups-pam/receipt	Fri Feb 21 20:49:34 2014 +0000
     1.2 +++ b/cups-pam/receipt	Sat Feb 22 11:22:36 2014 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	patch -Np1 -i $WOK/$SOURCE/stuff/install-sh.u
     1.8 +	patch -Np1 -i ${wanted_stuff}/install-sh.u
     1.9  	./configure \
    1.10  		--prefix=/usr \
    1.11  		--sysconfdir=/etc \
    1.12 @@ -32,7 +32,7 @@
    1.13  		--disable-ldap \
    1.14  		--with-cups-user=nobody \
    1.15  		--with-cups-group=nogroup \
    1.16 -		--with-languages="de es fr" \
    1.17 +		--with-languages="de es fr pt_BR ru" \
    1.18  		$CONFIGURE_ARGS &&
    1.19  	make &&
    1.20  	make BUILDROOT=$DESTDIR install
    1.21 @@ -53,21 +53,12 @@
    1.22  	cp -a $install/usr/share/icons/hicolor/32x32/apps/cups.png \
    1.23  		 $fs/usr/share/pixmaps
    1.24  	cp -a $install/var $fs
    1.25 -
    1.26 -	# tazwok does not strip files other than .so in usr/lib
    1.27 -		
    1.28 -	for dir in $fs/usr/lib/cups
    1.29 -	do
    1.30 -		if [ -d "$dir" ]; then
    1.31 -			find $dir -type f -exec strip -s '{}' 2>/dev/null \;
    1.32 -		fi
    1.33 -	done
    1.34  	
    1.35  	# PAM conf
    1.36 -	cp -a $stuff/* $fs
    1.37 +	cp -a $stuff/etc $fs
    1.38  
    1.39  	# Daemon script
    1.40 -	cp -a $WOK/cups/stuff/etc $fs
    1.41 +	cp -a ${wanted_stuff}/etc $fs
    1.42  }
    1.43  
    1.44  # Start cups daemon and edit daemons.conf.
     2.1 --- a/cups/receipt	Fri Feb 21 20:49:34 2014 +0000
     2.2 +++ b/cups/receipt	Sat Feb 22 11:22:36 2014 +0100
     2.3 @@ -37,7 +37,7 @@
     2.4  		--with-dbusdir=/etc/dbus-1 \
     2.5  		--with-cups-user=nobody \
     2.6  		--with-cups-group=nogroup \
     2.7 -		--with-languages="de es fr" \
     2.8 +		--with-languages="de es fr pt_BR ru" \
     2.9  		--with-pdftops=pdftops \
    2.10  		$CONFIGURE_ARGS &&
    2.11  	make &&
    2.12 @@ -60,15 +60,6 @@
    2.13  	cp -a $install/usr/share/icons/hicolor/32x32/apps/cups.png $fs/usr/share/pixmaps
    2.14  	cp -a $install/var $fs
    2.15  
    2.16 -	# tazwok does not strip files other than .so in usr/lib
    2.17 -
    2.18 -	for dir in $fs/usr/lib/cups
    2.19 -	do
    2.20 -		if [ -d "$dir" ]; then
    2.21 -			find $dir -type f -exec strip -s '{}' 2>/dev/null \;
    2.22 -		fi
    2.23 -	done
    2.24 -
    2.25  	# Daemon script
    2.26  	cp -a $stuff/etc $fs
    2.27