summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-common/Makefile
blob: d9bbd994a1b42b5b77bc17553e5f0b924449ac90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright (C) 2011 Manuel Munz <freifunk at somakoma de>
# This is free software, licensed under the Apache 2.0 license.

include $(TOPDIR)/rules.mk

PKG_NAME:=freifunk-common
PKG_RELEASE:=2

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/freifunk-common
  SECTION:=luci
  CATEGORY:=LuCI
  SUBMENU:=9. Freifunk
  TITLE:=Freifunk common files
endef

define Package/freifunk-common/description
  Common files and scripts that are needed to run free wireless mesh networks.
endef

define Package/luci-mod-freifunk/conffiles
/etc/config/freifunk
endef

define Build/Prepare
	mkdir -p $(PKG_BUILD_DIR)
endef

define Build/Configure
endef

define Build/Compile
endef

define Package/freifunk-common/install
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,freifunk-common))