wok-next rev 8510

Samba: read files.list directly from stuff
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 04:09:28 2011 +0100 (2011-02-12)
parents a10cf58df5b7
children 056701872188
files samba-common/receipt samba/receipt smbclient/receipt smbfs/receipt
line diff
     1.1 --- a/samba-common/receipt	Sat Feb 12 03:14:54 2011 +0100
     1.2 +++ b/samba-common/receipt	Sat Feb 12 04:09:28 2011 +0100
     1.3 @@ -17,6 +17,6 @@
     1.4  		dir=${file%/*}
     1.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     1.6  		cp -a $_pkg$file $fs$dir
     1.7 -	done < $src/$PACKAGE.files-list
     1.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     1.9  }
    1.10  
     2.1 --- a/samba/receipt	Sat Feb 12 03:14:54 2011 +0100
     2.2 +++ b/samba/receipt	Sat Feb 12 04:09:28 2011 +0100
     2.3 @@ -35,7 +35,6 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	cp stuff/*.files-list $src
     2.8  	mkdir -p $fs/usr
     2.9  	cp -a $_pkg/etc $fs
    2.10  	cp -a $_pkg/var $fs
    2.11 @@ -43,7 +42,7 @@
    2.12  	cp -a $_pkg/usr/sbin $fs/usr
    2.13  	cp -a $_pkg/usr/bin $fs/usr
    2.14  	cp -a stuff/etc $fs
    2.15 -	cat $src/*.files-list | while read file; do
    2.16 +	cat stuff/*.files-list | while read file; do
    2.17  		rm -rf $fs$file
    2.18  	done
    2.19  }
     3.1 --- a/smbclient/receipt	Sat Feb 12 03:14:54 2011 +0100
     3.2 +++ b/smbclient/receipt	Sat Feb 12 04:09:28 2011 +0100
     3.3 @@ -17,6 +17,6 @@
     3.4  		dir=${file%/*}
     3.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     3.6  		cp -a $_pkg$file $fs$dir
     3.7 -	done < $src/$PACKAGE.files-list
     3.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     3.9  }
    3.10  
     4.1 --- a/smbfs/receipt	Sat Feb 12 03:14:54 2011 +0100
     4.2 +++ b/smbfs/receipt	Sat Feb 12 04:09:28 2011 +0100
     4.3 @@ -18,7 +18,7 @@
     4.4  		dir=${file%/*}
     4.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     4.6  		cp -a $_pkg$file $fs$dir
     4.7 -	done < $src/$PACKAGE.files-list
     4.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     4.9  }
    4.10  
    4.11