[svn-commits] trunk r32919 - /trunk/sounds/Makefile
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed Jun 7 15:55:47 MST 2006
Author: kpfleming
Date: Wed Jun 7 17:55:46 2006
New Revision: 32919
URL: http://svn.digium.com/view/asterisk?rev=32919&view=rev
Log:
ok, new sounds/moh handling stuff should be done... bring on the bug reports!
Modified:
trunk/sounds/Makefile
Modified: trunk/sounds/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/sounds/Makefile?rev=32919&r1=32918&r2=32919&view=diff
==============================================================================
--- trunk/sounds/Makefile (original)
+++ trunk/sounds/Makefile Wed Jun 7 17:55:46 2006
@@ -17,7 +17,8 @@
SOUNDS_DIR:=$(DESTDIR)$(ASTDATADIR)/sounds
MOH_DIR:=$(DESTDIR)$(ASTDATADIR)/moh
CORE_SOUNDS_VERSION:=1.4.0
-SOUNDS_URL:=http://cork.digium.internal/apache2-default
+SOUNDS_URL:=http://ftp.digium.com/pub/telephony/sounds/releases
+MOH_URL:=http://ftp.digium.com/pub/telephony/sounds
MENUSELECT_CORE_SOUNDS:=$(subst -EN-,-en-,$(MENUSELECT_CORE_SOUNDS))
MENUSELECT_CORE_SOUNDS:=$(subst -FR-,-fr-,$(MENUSELECT_CORE_SOUNDS))
MENUSELECT_CORE_SOUNDS:=$(subst -ES-,-es-,$(MENUSELECT_CORE_SOUNDS))
@@ -72,13 +73,19 @@
$(MOH_DIR)/.asterisk-moh-%:
@PACKAGE=$(subst $(MOH_DIR)/.asterisk,asterisk,$@).tar.gz; \
- if ! test -f $${PACKAGE}; then wget --no-verbose --continue $(SOUNDS_URL)/$${PACKAGE}; fi; \
+ if ! test -f $${PACKAGE}; then wget --no-verbose --continue $(MOH_URL)/$${PACKAGE}; fi; \
if ! test -f $${PACKAGE}; then exit 1; fi; \
(cd $(MOH_DIR); tar xzf $(PWD)/$${PACKAGE}) && \
touch $@
-%.tar.gz:
+asterisk-core-%.tar.gz:
@wget --no-verbose --continue $(SOUNDS_URL)/$@
+
+asterisk-extra-%.tar.gz:
+ @wget --no-verbose --continue $(MOH_URL)/$@
+
+asterisk-moh-%.tar.gz:
+ @wget --no-verbose --continue $(MOH_URL)/$@
all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
More information about the svn-commits
mailing list