Add mpg123 target
authorMark Spencer <markster@digium.com>
Sat, 7 Aug 2004 01:26:09 +0000 (01:26 +0000)
committerMark Spencer <markster@digium.com>
Sat, 7 Aug 2004 01:26:09 +0000 (01:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3586 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index a640415..2f5945c 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -386,6 +386,7 @@ bininstall: all
        fi 
        ( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds  ; ln -s $(ASTSPOOLDIR)/vm . )
        ( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds  ; ln -s $(ASTSPOOLDIR)/voicemail . )
+       if [ -d mpg123-0.59r ]; then make -C mpg123-0.59r install; fi
        @echo " +---- Asterisk Installation Complete -------+"  
        @echo " +                                           +"
        @echo " +    YOU MUST READ THE SECURITY DOCUMENT    +"
@@ -494,6 +495,13 @@ __rpm: _version
 progdocs:
        doxygen contrib/asterisk-ng-doxygen
 
+mpg123:
+       @wget -V >/dev/null || (echo "You need wget" ; false )
+       [ -f mpg123-0.59r.tar.gz ] || wget http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz
+       [ -d mpg123-0.59r ] || tar xfz mpg123-0.59r.tar.gz
+       make -C mpg123-0.59r linux
+       
+
 config:
        if [ -d /etc/rc.d/init.d ]; then \
                install -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \