freifunk-common: explicitely depend on libuci-lua
[project/luci.git] / contrib / package / freifunk-common / Makefile
1 # Copyright (C) 2011 Manuel Munz <freifunk at somakoma de>
2 # This is free software, licensed under the Apache 2.0 license.
3
4 include $(TOPDIR)/rules.mk
5
6 PKG_NAME:=freifunk-common
7 PKG_RELEASE:=3
8
9 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
10
11 include $(INCLUDE_DIR)/package.mk
12
13 define Package/freifunk-common
14   SECTION:=luci
15   CATEGORY:=LuCI
16   SUBMENU:=9. Freifunk
17   TITLE:=Freifunk common files
18   DEPENDS:=+libuci-lua
19 endef
20
21 define Package/freifunk-common/description
22   Common files and scripts that are needed to run free wireless mesh networks.
23 endef
24
25 define Package/luci-mod-freifunk/conffiles
26 /etc/config/freifunk
27 endef
28
29 define Build/Prepare
30         mkdir -p $(PKG_BUILD_DIR)
31 endef
32
33 define Build/Configure
34 endef
35
36 define Build/Compile
37 endef
38
39 define Package/freifunk-common/install
40         $(CP) ./files/* $(1)/
41 endef
42
43 $(eval $(call BuildPackage,freifunk-common))