Add support for miniupnpd and cjdns
[librecmc/package-feed.git] / net / luci-app-cjdns / Makefile
1 #
2 # Copyright (C) 2014,2015 Hyperboria.net
3 #
4 # You may redistribute this program and/or modify it under the terms of
5 # the GNU General Public License as published by the Free Software Foundation,
6 # either version 3 of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
15 #
16
17 include $(TOPDIR)/rules.mk
18
19 PKG_NAME:=luci-app-cjdns
20 PKG_VERSION:=1.3
21 PKG_RELEASE:=5
22
23 PKG_LICENSE:=GPL-3.0
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/luci-app-cjdns
28         SECTION:=luci
29         CATEGORY:=LuCI
30         SUBMENU:=3. Applications
31         TITLE:=Encrypted near-zero-conf mesh routing protocol
32         URL:=https://github.com/hyperboria/cjdns
33         MAINTAINER:=Lars Gierth <larsg@systemli.org>
34         DEPENDS:=+cjdns +luci-base
35 endef
36
37 define Package/luci-app-cjdns/description
38         This package allows you to configure and inspect cjdns networking using LuCI.
39
40         Cjdns implements an encrypted IPv6 network using public-key cryptography
41         for address allocation and a distributed hash table for routing.
42         This provides near-zero-configuration networking, and prevents many
43         of the security and scalability issues that plague existing networks.
44 endef
45
46 define Build/Compile
47 endef
48
49 define Package/luci-app-cjdns/install
50         $(INSTALL_DIR) $(1)/usr/lib/lua/luci
51         $(CP) ./luasrc/* $(1)/usr/lib/lua/luci
52 endef
53
54 $(eval $(call BuildPackage,luci-app-cjdns))