wok-next diff nbs/receipt @ rev 6025

Up: zile (2.3.19)
author Alexander Medvedev <devl547@gmail.com>
date Sun Aug 15 12:39:32 2010 +0000 (2010-08-15)
parents bee79018e13a
children 53e1828da719
line diff
     1.1 --- a/nbs/receipt	Wed Feb 24 10:31:06 2010 +0000
     1.2 +++ b/nbs/receipt	Sun Aug 15 12:39:32 2010 +0000
     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  }