Add asterisk prompts in German (#1463)
[openwrt/svn-archive/archive.git] / net / asterisk-prompt-de / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=asterisk-prompt-de
12 PKG_VERSION:=2.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=ast_prompts_de_v2_0.tar.gz
16 PKG_SOURCE_URL:=http://www.stadt-pforzheim.de/asterisk/dateien/
17 PKG_MD5SUM:=d263b0b746acf84d7519ff8fb6699dc8
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/ast_prompts_de_v2_0
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/asterisk-prompt-de
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=German asterisk prompts
29 DESCRIPTION:=German asterisk prompts
30 DEPENDS:=+asterisk
31 URL:=http://www.stadt-pforzheim.de/asterisk/
32 SUBMENU:=asterisk (Complete Open Source PBX)
33 endef
34
35 define Build/Compile
36 endef
37
38 define Package/asterisk-prompt-de/install
39 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
40 $(CP) $(PKG_BUILD_DIR)/var/lib/asterisk/sounds/* \
41 $(1)/usr/lib/asterisk/sounds/
42 endef
43
44 $(eval $(call BuildPackage,asterisk-prompt-de))
45