[Pkg-voip-commits] r8108 - /asterisk-sounds/asterisk-core-sounds/debian/rules
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Sun Feb 21 11:31:00 UTC 2010
Author: tzafrir-guest
Date: Sun Feb 21 11:30:58 2010
New Revision: 8108
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8108
Log:
Further reduce diff from the -extra package.
Modified:
asterisk-sounds/asterisk-core-sounds/debian/rules
Modified: asterisk-sounds/asterisk-core-sounds/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-sounds/asterisk-core-sounds/debian/rules?rev=8108&op=diff
==============================================================================
--- asterisk-sounds/asterisk-core-sounds/debian/rules (original)
+++ asterisk-sounds/asterisk-core-sounds/debian/rules Sun Feb 21 11:30:58 2010
@@ -3,6 +3,7 @@
BASE_URL=http://downloads.asterisk.org/pub/telephony/sounds/releases/
PACKAGE=$(shell sed -e '2,$$d' -e 's/ .*//' debian/changelog)
VERSION=$(shell sed -e '2,$$d' -e 's/^[^(]*(\([^-]*\)-.*)*)*/\1/' debian/changelog)
+LANGS=en es fr
TMPDIR=tmp
# or . if you prefer
TARGET_DIR=..
@@ -16,9 +17,9 @@
@echo version: $(VERSION)
get-orig-source:
- cd $(TARGET_DIR); for lang in en es fr; do for format in gsm wav g722; do \
+ cd $(TARGET_DIR); for lang in $(LANGS); do for format in gsm wav g722; do \
wget -q -c $(BASE_URL)/$(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz; \
- ln -s $(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz \
+ ln -sf $(PACKAGE)-$$lang-$$format-$(VERSION).tar.gz \
$(PACKAGE)_$(VERSION).orig-$$lang-$$format.tar.gz; \
done; done
# dummy empty base tarball:
More information about the Pkg-voip-commits
mailing list