summaryrefslogtreecommitdiff
path: root/contrib/scripts/get_ilbc_source.sh
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-03-26 19:08:00 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-03-26 19:08:00 +0000
commit13d8451459ff041a5b88002f40181626baae9854 (patch)
tree4cef70f196e2ab31f77ebf64a96ab91047d7a279 /contrib/scripts/get_ilbc_source.sh
parent6412a96e43104ccad740ff224dc616ec85b89435 (diff)
Merged revisions 111024 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r111024 | kpfleming | 2008-03-26 14:06:56 -0500 (Wed, 26 Mar 2008) | 10 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@111025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/scripts/get_ilbc_source.sh')
-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 "***"