summaryrefslogtreecommitdiff
path: root/package/asterisk/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-05 15:34:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-05 15:34:35 +0200
commit3b76e79f14e279a6526809e630e45e4f760d77de (patch)
treebb479b57c7ad1362f05a0532a7133c0c5232dfeb /package/asterisk/Makefile
parent9bfe4f2061f377306619fa479bc0e7adafb22125 (diff)
parent1879491b2b6e799b20ac06d1b510726eb200944f (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/asterisk/Makefile')
-rw-r--r--package/asterisk/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 425683f24..b56898d2a 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -4,9 +4,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= asterisk
-PKG_VERSION:= 1.6.2.5
+PKG_VERSION:= 1.6.2.7
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9d1f7bcf6833605ced4b2740d14bd576
+PKG_MD5SUM:= 861f57ba43bfe05dc645e0679a260e41
PKG_DESCR:= Open Source PBX
PKG_SECTION:= net
PKG_MULTI:= 1
@@ -174,6 +174,7 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
rm -f gtalk.conf ; \
rm -f skinny.conf ; \
rm -f dundi.conf ; \
+ $(SED) '#^astdatadir = /var/#/usr/#' asterisk.conf ; \
)
${INSTALL_DATA} ./files/modules.conf $(IDIR_ASTERISK)/etc/asterisk/
$(SED) 's|/var/lib/asterisk|/usr/lib/asterisk|g' \
@@ -191,8 +192,11 @@ asterisk-sounds-install:
${INSTALL_DIR} $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds
$(CP) $(WRKBUILD)/sounds/* \
$(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds/
- rm -f $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds/*.mp3
- rm -f $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds/vm-*
+ (cd $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds; \
+ rm -f *.mp3 vm-*; \
+ rm -f CHANGES* CREDITS* LICENSE* *.txt ; \
+ rm -f *.tar.gz Makefile ; \
+ )
asterisk-voicemail-install:
${INSTALL_DIR} $(IDIR_ASTERISK_VOICEMAIL)/etc/asterisk