aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 22:55:46 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 22:55:46 +0000
commit7d789d4b924baba97d35e7b74a0d06360f1c62bc (patch)
treeb2915baa220daf4c04a3dc8563684cc54f4b0cb2 /sounds
parent94d99e5654cb5a008ae7c7d94ecba12fac282be5 (diff)
ok, new sounds/moh handling stuff should be done... bring on the bug reports!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32919 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 44ea10bdc..4651fa4af 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -17,7 +17,8 @@ PWD:=$(shell pwd)
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,14 +73,20 @@ $(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: $(SOUNDS_DIR)/es
$(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)
dist-clean: