diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-09-28 00:20:56 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-09-28 00:20:56 +0000 |
commit | c3a028c76c294c0578b0449d75f9aeaad209c8d1 (patch) | |
tree | da549085750d64091f3bc43992cf1c8417edd20c /contrib/package/community-profiles/Makefile | |
parent | 876b191b20a01926657e4d3c618fd2f029f45f4d (diff) |
modules/freifunk: Move profiles and common files into seperate packages, this will enable us to build freifunk images without luci.
Diffstat (limited to 'contrib/package/community-profiles/Makefile')
-rw-r--r-- | contrib/package/community-profiles/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/package/community-profiles/Makefile b/contrib/package/community-profiles/Makefile new file mode 100644 index 000000000..439b6837b --- /dev/null +++ b/contrib/package/community-profiles/Makefile @@ -0,0 +1,39 @@ +# 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:=community-profiles +PKG_RELEASE:=1 + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/community-profiles + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=Freifunk + TITLE:=Community profiles + DEPENDS:=freifunk-common +endef + +define Package/community-profiles/description + These community profiles set defaults for various free network/freifunk communities and are used by wizards like ffwizard and meshwizard. +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/community-profiles/install + $(CP) ./files/* $(1)/ +endef + +$(eval $(call BuildPackage,community-profiles)) |