1
0

Makefile 1.6 KB

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