wok-6.x diff nbs/receipt @ rev 7002

mplayer: fix depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Oct 31 15:43:27 2010 +0100 (2010-10-31)
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 Oct 31 15:43:27 2010 +0100
     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  }