luci-app-cjdns: import package from SeattleMeshnet/meshbox
[lede-routing/.git] / luci-app-cjdns / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=luci-app-cjdns
4 PKG_VERSION:=1.3
5 PKG_RELEASE:=4
6
7 PKG_LICENSE:=GPL-3.0
8
9 include $(INCLUDE_DIR)/package.mk
10
11 define Package/luci-app-cjdns
12         SECTION:=luci
13         CATEGORY:=LuCI
14         SUBMENU:=3. Applications
15         TITLE:=Encrypted near-zero-conf mesh routing protocol
16         URL:=https://github.com/hyperboria/cjdns
17         MAINTAINER:=Lars Gierth <larsg@systemli.org>
18         DEPENDS:=+cjdns +luci-base
19 endef
20
21 define Package/luci-app-cjdns/description
22         This package allows you to configure and inspect cjdns networking using LuCI.
23
24         Cjdns implements an encrypted IPv6 network using public-key cryptography
25         for address allocation and a distributed hash table for routing.
26         This provides near-zero-configuration networking, and prevents many
27         of the security and scalability issues that plague existing networks.
28 endef
29
30 define Build/Compile
31 endef
32
33 define Package/luci-app-cjdns/install
34         $(INSTALL_DIR) $(1)/usr/lib/lua/luci
35         $(CP) ./luasrc/* $(1)/usr/lib/lua/luci
36 endef
37
38 $(eval $(call BuildPackage,luci-app-cjdns))