wok diff nbs/receipt @ rev 8874
Fixed lincity-ng.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 26 16:34:18 2011 +0000 (2011-02-26) |
parents | 53e1828da719 |
children | d1768332cee0 |
line diff
1.1 --- a/nbs/receipt Wed Nov 17 03:47:52 2010 +0000 1.2 +++ b/nbs/receipt Sat Feb 26 16:34:18 2011 +0000 1.3 @@ -5,26 +5,16 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Network Broadcast Sound." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +BUILD_DEPENDS="subversion" 1.8 WEB_SITE="http://svn.digium.com/view/nbs" 1.9 +WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk" 1.10 1.11 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - mkdir $src 1.16 cd $src 1.17 - TARBALL=$PACKAGE-$VERSION.tar.gz 1.18 - [ -f $SOURCES_REPOSITORY/$TARBALL ] && 1.19 - tar xzf $SOURCES_REPOSITORY/$TARBALL 1.20 - for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do 1.21 - [ -f $i ] && continue 1.22 - wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1 1.23 - mv $i\?view=co $i 1.24 - [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u 1.25 - done 1.26 - [ -f $SOURCES_REPOSITORY/$TARBALL ] || 1.27 - tar cvzf $SOURCES_REPOSITORY/$TARBALL \ 1.28 - Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c 1.29 + patch -p0 < ../stuff/Makefile.u && 1.30 make && 1.31 make DESTDIR=$PWD/_pkg install 1.32 }