wok-next rev 10943

asterisk: store ilbc sources in src cache (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 29 18:23:58 2011 +0200 (2011-08-29)
parents bae11341973a
children f8fd2e7bac37
files asterisk/receipt asterisk/stuff/extract-cfile.awk
line diff
     1.1 --- a/asterisk/receipt	Mon Aug 29 18:16:24 2011 +0200
     1.2 +++ b/asterisk/receipt	Mon Aug 29 18:23:58 2011 +0200
     1.3 @@ -35,8 +35,8 @@
     1.4  	[ -s $SOURCES_REPOSITORY/rfc3951.txt ] ||
     1.5  		wget -P $SOURCES_REPOSITORY http://www.ietf.org/rfc/rfc3951.txt
     1.6  	cp $SOURCES_REPOSITORY/rfc3951.txt codecs/ilbc
     1.7 -	[ -f codecs/ilbc/iLBC_define.h ] ||
     1.8 -		(cd codecs/ilbc && awk -f $stuff/extract-cfile.awk rfc3951.txt)
     1.9 +	[ -f codecs/ilbc/iLBC_define.h ] || ( cd codecs/ilbc &&
    1.10 +		awk -f $stuff/extract-cfile.awk rfc3951.txt > /dev/null )
    1.11  	busybox sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree
    1.12  	./configure \
    1.13  		--prefix=/usr \
     2.1 --- a/asterisk/stuff/extract-cfile.awk	Mon Aug 29 18:16:24 2011 +0200
     2.2 +++ b/asterisk/stuff/extract-cfile.awk	Mon Aug 29 18:23:58 2011 +0200
     2.3 @@ -15,11 +15,10 @@
     2.4        close(srcname);
     2.5        exit;}
     2.6      else
     2.7 -      print $0 &gt;&gt; srcname;
     2.8 +      print $0 >> srcname;
     2.9    }
    2.10  }
    2.11  END {
    2.12    printf("ending file %s\n", srcname);
    2.13    close(srcname);
    2.14  }
    2.15 -</pre></div></body></html>
    2.16 \ No newline at end of file