Merged revisions 111024 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 26 Mar 2008 19:08:00 +0000 (19:08 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 26 Mar 2008 19:08:00 +0000 (19:08 +0000)
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

contrib/scripts/get_ilbc_source.sh [new file with mode: 0755]

diff --git a/contrib/scripts/get_ilbc_source.sh b/contrib/scripts/get_ilbc_source.sh
new file mode 100755 (executable)
index 0000000..2622180
--- /dev/null
@@ -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 "***"