aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-07 01:26:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-07 01:26:09 +0000
commit95aabdc2135c8a8bf801adaa1810c5a898d7ed2e (patch)
tree01512aa449baffe59b918013bd1245baf4530d89 /Makefile
parentef7f8017585d3d2c4f7d7a0de39cd46063465f44 (diff)
Add mpg123 target
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3586 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a640415c3..2f5945ca2 100755
--- 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; \