summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-18 21:38:11 +0000
committerSteven Barth <steven@midlink.org>2008-05-18 21:38:11 +0000
commit69897e5ad90954c1ba728087de465ba87af43702 (patch)
tree17017e7cd8db80fe50937d8a7642738e110a8088 /contrib/package
parentdfdae206b73d2d733081f5b64ed13ccac3bc6d35 (diff)
* Add community package for Freifunk Hannover
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/ffluci/Makefile18
-rw-r--r--contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst4
2 files changed, 21 insertions, 1 deletions
diff --git a/contrib/package/ffluci/Makefile b/contrib/package/ffluci/Makefile
index 2ce1b8fef6..ca75402611 100644
--- a/contrib/package/ffluci/Makefile
+++ b/contrib/package/ffluci/Makefile
@@ -91,6 +91,21 @@ define Package/ffluci-ff-leipzig/install
endef
+define Package/ffluci-ff-hannover
+ $(call Package/ffluci/template)
+ DEPENDS:=ffluci \
+ +ffluci-sgi-haserl +ffluci-mod-freifunk +ffluci-app-splash \
+ +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice
+ TITLE:=Freifunk Hannover Community Meta-Package
+ URL:=http://www.freifunk-hannover.de/
+ MAINTAINER:=Mickey Knox <mickey-at-netfreaks-dot-org>
+endef
+
+define Package/ffluci-ff-hannover/install
+ $(call Package/ffluci/install/template,$(1),applications/community-hannover)
+ $(CP) -a ./ipkg/ffluci-ff-hannover.postinst $(1)/CONTROL/postinst
+endef
+
### Modules ###
@@ -191,6 +206,7 @@ $(eval $(call BuildPackage,ffluci))
$(eval $(call BuildPackage,ffluci-ff-halle))
$(eval $(call BuildPackage,ffluci-ff-leipzig))
+$(eval $(call BuildPackage,ffluci-ff-hannover))
$(eval $(call BuildPackage,ffluci-mod-admin-core))
$(eval $(call BuildPackage,ffluci-mod-freifunk))
@@ -199,4 +215,4 @@ $(eval $(call BuildPackage,ffluci-app-firewall))
$(eval $(call BuildPackage,ffluci-app-splash))
$(eval $(call BuildPackage,ffluci-sgi-haserl))
-$(eval $(call BuildPackage,ffluci-sgi-webuci)) \ No newline at end of file
+$(eval $(call BuildPackage,ffluci-sgi-webuci))
diff --git a/contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst b/contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst
new file mode 100644
index 0000000000..5c213adc48
--- /dev/null
+++ b/contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/ffluci-community-hannover ) && rm -f /etc/uci-defaults/ffluci-community-hannover
+}