mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add mpg123 target
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
8
Makefile
8
Makefile
@@ -386,6 +386,7 @@ bininstall: all
|
|||||||
fi
|
fi
|
||||||
( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/vm . )
|
( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/vm . )
|
||||||
( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/voicemail . )
|
( 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 " +---- Asterisk Installation Complete -------+"
|
||||||
@echo " + +"
|
@echo " + +"
|
||||||
@echo " + YOU MUST READ THE SECURITY DOCUMENT +"
|
@echo " + YOU MUST READ THE SECURITY DOCUMENT +"
|
||||||
@@ -494,6 +495,13 @@ __rpm: _version
|
|||||||
progdocs:
|
progdocs:
|
||||||
doxygen contrib/asterisk-ng-doxygen
|
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:
|
config:
|
||||||
if [ -d /etc/rc.d/init.d ]; then \
|
if [ -d /etc/rc.d/init.d ]; then \
|
||||||
install -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \
|
install -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \
|
||||||
|
Reference in New Issue
Block a user