Makefile cleanups, round 6 and last
[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
19 PKG_BUILD_DIR:=$(BUILD_DIR)/ast_prompts_de_v2_0
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/asterisk-prompt-de
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=German asterisk prompts
27 DEPENDS:=+asterisk
28 URL:=http://www.stadt-pforzheim.de/asterisk/
29 SUBMENU:=asterisk (Complete Open Source PBX)
30 endef
31
32 define Package/asterisk-prompt-de/description
33 German asterisk prompts
34 endef
35
36 define Build/Compile
37 endef
38
39 define Package/asterisk-prompt-de/install
40 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
41 $(CP) $(PKG_BUILD_DIR)/var/lib/asterisk/sounds/* \
42 $(1)/usr/lib/asterisk/sounds/
43 endef
44
45 $(eval $(call BuildPackage,asterisk-prompt-de))
46