wok-6.x diff nbs/receipt @ rev 5553
linld, linmodem-slmodem, mountlo, nbs, nvidia: cache extra wget'd files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 22:41:03 2010 +0200 (2010-05-13) |
parents | bee79018e13a |
children | 53e1828da719 |
line diff
1.1 --- a/nbs/receipt Wed Feb 24 10:31:06 2010 +0000 1.2 +++ b/nbs/receipt Thu May 13 22:41:03 2010 +0200 1.3 @@ -13,12 +13,18 @@ 1.4 { 1.5 mkdir $src 1.6 cd $src 1.7 + TARBALL=$PACKAGE-$VERSION.tar.gz 1.8 + [ -f $SOURCES_REPOSITORY/$TARBALL ] && 1.9 + tar xzf $SOURCES_REPOSITORY/$TARBALL 1.10 for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do 1.11 [ -f $i ] && continue 1.12 wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1 1.13 mv $i\?view=co $i 1.14 [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u 1.15 done 1.16 + [ -f $SOURCES_REPOSITORY/$TARBALL ] || 1.17 + tar cvzf $SOURCES_REPOSITORY/$TARBALL \ 1.18 + Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c 1.19 make && 1.20 make DESTDIR=$PWD/_pkg install 1.21 }