wok-next rev 7970

krb5 now use files.list from stuff and don't cook wanted 2 times
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:52:31 2011 +0100 (2011-01-17)
parents 43ca77c1cfa6
children 104979b42d9c
files krb5-clients/receipt krb5-dev/receipt krb5-plugins/receipt krb5-user/receipt krb5/receipt libcomerr3/receipt libkrb5/receipt libkrb5support/receipt
line diff
     1.1 --- a/krb5-clients/receipt	Mon Jan 17 17:41:51 2011 +0100
     1.2 +++ b/krb5-clients/receipt	Mon Jan 17 17:52:31 2011 +0100
     1.3 @@ -16,6 +16,6 @@
     1.4  		dir=$(dirname $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/krb5-dev/receipt	Mon Jan 17 17:41:51 2011 +0100
     2.2 +++ b/krb5-dev/receipt	Mon Jan 17 17:52:31 2011 +0100
     2.3 @@ -16,6 +16,6 @@
     2.4  		dir=$(dirname $file)
     2.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     2.6  		cp -a $_pkg$file $fs$dir
     2.7 -	done < $src/$PACKAGE.files-list
     2.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     2.9  }
    2.10  
     3.1 --- a/krb5-plugins/receipt	Mon Jan 17 17:41:51 2011 +0100
     3.2 +++ b/krb5-plugins/receipt	Mon Jan 17 17:52:31 2011 +0100
     3.3 @@ -16,6 +16,6 @@
     3.4  		dir=$(dirname $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/krb5-user/receipt	Mon Jan 17 17:41:51 2011 +0100
     4.2 +++ b/krb5-user/receipt	Mon Jan 17 17:52:31 2011 +0100
     4.3 @@ -16,6 +16,6 @@
     4.4  		dir=$(dirname $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  
     5.1 --- a/krb5/receipt	Mon Jan 17 17:41:51 2011 +0100
     5.2 +++ b/krb5/receipt	Mon Jan 17 17:52:31 2011 +0100
     5.3 @@ -21,8 +21,7 @@
     5.4  	--sysconfdir=/etc --localstatedir=/var \
     5.5  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
     5.6  	make -j 4 &&
     5.7 -	make DESTDIR=$PWD/../_pkg install &&
     5.8 -	cp ../../stuff/*.files-list ..
     5.9 +	make DESTDIR=$PWD/../_pkg install
    5.10  }
    5.11  
    5.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.13 @@ -33,14 +32,9 @@
    5.14  	cp -a $_pkg/usr/bin $fs/usr
    5.15  	cp -a $_pkg/usr/sbin $fs/usr
    5.16  	cp -a $_pkg/usr/lib $fs/usr
    5.17 -	cat $src/*.files-list | while read file; do
    5.18 +	cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do
    5.19  		rm -rf $fs$file
    5.20  	done
    5.21 -	# Package all krb5 pkgs
    5.22 -	for i in $(cd $WOK; grep -l '^WANTED="krb5"$' */receipt)
    5.23 -	do
    5.24 -    		tazwok cook ${i%/receipt}
    5.25 -	done
    5.26  }
    5.27  
    5.28  # Pre and post install commands for Tazpkg.
     6.1 --- a/libcomerr3/receipt	Mon Jan 17 17:41:51 2011 +0100
     6.2 +++ b/libcomerr3/receipt	Mon Jan 17 17:52:31 2011 +0100
     6.3 @@ -16,5 +16,5 @@
     6.4  		dir=$(dirname "$file")
     6.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     6.6  		cp -a $_pkg$file $fs$dir
     6.7 -	done < $src/$PACKAGE.files-list
     6.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     6.9  }
     7.1 --- a/libkrb5/receipt	Mon Jan 17 17:41:51 2011 +0100
     7.2 +++ b/libkrb5/receipt	Mon Jan 17 17:52:31 2011 +0100
     7.3 @@ -16,6 +16,6 @@
     7.4  		dir=$(dirname "$file")
     7.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     7.6  		cp -a $_pkg$file $fs$dir
     7.7 -	done < $src/$PACKAGE.files-list
     7.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     7.9  }
    7.10  
     8.1 --- a/libkrb5support/receipt	Mon Jan 17 17:41:51 2011 +0100
     8.2 +++ b/libkrb5support/receipt	Mon Jan 17 17:52:31 2011 +0100
     8.3 @@ -15,6 +15,6 @@
     8.4  		dir=$(dirname "$file")
     8.5  		[ -d $fs$dir ] || mkdir -p $fs$dir
     8.6  		cp -a $_pkg$file $fs$dir
     8.7 -	done < $src/$PACKAGE.files-list
     8.8 +	done < $WOK/$WANTED/stuff/$PACKAGE.files-list
     8.9  }
    8.10