wok-6.x diff catalyst/receipt @ rev 5552
catalyst, eduke32, erlang, fxload: cache extra wget'd files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 22:04:49 2010 +0200 (2010-05-13) |
parents | c66ad3e8adfb |
children | cba7b9cb50f9 |
line diff
1.1 --- a/catalyst/receipt Thu Mar 18 10:41:03 2010 +0000 1.2 +++ b/catalyst/receipt Thu May 13 22:04:49 2010 +0200 1.3 @@ -20,12 +20,19 @@ 1.4 1.5 [ -d $WOK/linux/taz ] || tazwok cook linux 1.6 1.7 - cd $WOK/$PACKAGE 1.8 - [ -f $TARBALL ] || wget $WGET_URL 1.9 + cd $WOK/$PACKAGE 1.10 + [ -f $SOURCES_REPOSITORY/$TARBALL ] && cp $SOURCES_REPOSITORY/$TARBALL . 1.11 + if [ ! -f $TARBALL ]; then 1.12 + wget $WGET_URL 1.13 + cp $TARBALL $SOURCES_REPOSITORY 1.14 + fi 1.15 1.16 chmod +x $TARBALL 1.17 [ -d $PACKAGE-$VERSION ] || sh $TARBALL --extract $PACKAGE-$VERSION 1.18 1.19 + for i in autoconf.h utsrelease.h ; do 1.20 + grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|" 1.21 + done 1.22 cd $src/common/lib/modules/fglrx/build_mod 1.23 cp $src/arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 . 1.24 cp 2.6.x/Makefile .