Debian Codegraph @

contrib/scripts/get_ilbc_source.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`. -e
2
3 if [scip-shell system . . `[`. -f codecs/ilbc/iLBC_define.h ]; then
4 echoscip-shell system . . echo. "***"
5 echoscip-shell system . . echo. "The iLBC source code appears to already be present and does not"
6 echoscip-shell system . . echo. "need to be downloaded."
7 echoscip-shell system . . echo. "***"
8
9 exit 1
10 fi
11
12 echoscip-shell system . . echo. "***"
13 echoscip-shell system . . echo. "This script will download and extract the iLBC RFC from http://ilbcfreeware.org."
14 echoscip-shell system . . echo. "As Google acquired Global IP Solutions, usage of iLBC is bound by the same"
15 echoscip-shell system . . echo. "license as the WebRTC project (http://www.webrtc.org). Usage of the iLBC codec"
16 echoscip-shell system . . echo. "entails agreeing to the license agreement present at that site."
17 echoscip-shell system . . echo. ""
18 echoscip-shell system . . echo. "This script assumes that you have already agreed to the license agreement."
19 echoscip-shell system . . echo. "If you have not done so, you can abort the script now."
20 echoscip-shell system . . echo. "***"
21
22 read tmp
23
24 wget -P codecs/ilbc http://www.ietf.org/rfc/rfc3951.txt
25
26 wget -q -O - http://www.ilbcfreeware.org/documentation/extract-cfile.txt | trscip-shell system . . tr. -d '\r' > codecs/ilbc/extract-cfile.awk
27
28 (cd codecs/ilbc && awkscip-shell system . . awk. -f extract-cfile.awk rfc3951.txt)
29
30 echoscip-shell system . . echo. "***"
31 echoscip-shell system . . echo. "The iLBC source code download is complete."
32 echoscip-shell system . . echo. "***"
33
34 exit 0