aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:06:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:06:56 +0000
commit9b7ad2d24f8f97cc09bf6c1e10aa29ba8c7fb795 (patch)
treef92c4eb0d0b3e7a54ae51fb3995dc0f87f641675 /contrib
parentd4f340ad6f70cd860957cb1a7d08f34a988d4a0d (diff)
Merged revisions 111019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r111019 | kpfleming | 2008-03-26 13:58:37 -0500 (Wed, 26 Mar 2008) | 2 lines add a script to make getting the iLBC source code simple for end users ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@111024 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/get_ilbc_source.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/scripts/get_ilbc_source.sh b/contrib/scripts/get_ilbc_source.sh
new file mode 100755
index 000000000..262218064
--- /dev/null
+++ b/contrib/scripts/get_ilbc_source.sh
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+echo "***"
+echo "This script will download the Global IP Solutions iLBC encoder/decoder"
+echo "source code from http://ilbcfreeware.org. Use of this code requires"
+echo "agreeing to the license agreement present at that site."
+echo ""
+echo "This script assumes that you have already agreed to the license agreement."
+echo "If you have not done so, you can abort the script now."
+echo "***"
+
+read
+
+wget -P codecs/ilbc http://www.ietf.org/rfc/rfc3951.txt
+
+wget -P codecs/ilbc http://www.ilbcfreeware.org/documentation/extract-cfile.awk
+
+(cd codecs/ilbc && awk -f extract-cfile.awk rfc3951.txt)
+
+echo "***"
+echo "The iLBC source code download is complete."
+echo "***"