[asterisk-users] Asterisk offline compiling with get_mp3_source.sh

leonardo collantes leonardo07746 at gmail.com
Mon Jul 15 08:25:55 CDT 2013


I need to make a Asterisk 18.0's offline compiling,  SVN mp3 support
sources downloading does't particulary works cause my asterisk is in an
isolated network with NO network access whatsoever, I ve read this thread (
http://lists.digium.com/pipermail/asterisk-users/2013-June/279298.html) but
I 'm not understading one thing, because I download the file and run the
script but there is no asterisk-contrib-mp3.tar.gz in my tmp folder


--- contrib/scripts/get_mp3_source.sh.orig	2013-06-04 12:41:08.222602824 +0200
+++ contrib/scripts/get_mp3_source.sh	2013-06-04 12:40:45.218602846 +0200
@@ -9,6 +9,15 @@
     exit 1
 fi

+LOCAL_COPY=/tmp/asterisk-contrib-mp3.tar.gz
+if [ -f ${LOCAL_COPY} ]; then
+    echo "***"
+    echo "Found ${LOCAL_COPY} - unpacking it, not downloading"
+    echo "***"
+    tar xzf ${LOCAL_COPY}
+    exit 0
+fi
+
 svn export http://svn.digium.com/svn/thirdparty/mp3/trunk addons/mp3 $@

 exit 0




and i don't know what to do with the mpglib file




asterisk (1:1.8.13.1~dfsg-3) mpglib Summary

 addons/mp3/MPGLIB_README |   39
 addons/mp3/MPGLIB_TODO   |    2
 addons/mp3/Makefile      |   24
 addons/mp3/README        |    1
 addons/mp3/common.c      |  267 ++++++
 addons/mp3/dct64_i386.c  |  335 +++++++
 addons/mp3/decode_i386.c |  153 +++
 addons/mp3/decode_ntom.c |  219 +++++
 addons/mp3/huffman.h     |  332 +++++++
 addons/mp3/interface.c   |  323 +++++++
 addons/mp3/layer3.c      | 2029 +++++++++++++++++++++++++++++++++++++++++++++++
 addons/mp3/mpg123.h      |  132 +++
 addons/mp3/mpglib.h      |   75 +
 addons/mp3/tabinit.c     |   81 +
 14 files changed, 4012 insertions(+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130715/89c6c58b/attachment.htm>


More information about the asterisk-users mailing list