You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2012-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=lispmob
  9. PKG_REV:=180aa39d338a00bb532e421de7f8513492cf2e8b
  10. PKG_VERSION:=0.4
  11. PKG_RELEASE:=2
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_MIRROR_HASH:=584300e1a59cc976f3599213487ea8425f94300887a51c9804f0292cf2f0c8cc
  14. PKG_SOURCE_URL:=git://github.com/LISPmob/lispmob.git
  15. PKG_SOURCE_PROTO:=git
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=$(PKG_REV)
  18. PKG_LICENSE:=GPLv2
  19. PKG_LICENSE_FILES:=LICENSE
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/lispd/default
  22. MAINTAINER:=Vasileios Lakafosis <lakafv@gmail.com>
  23. URL:=http://lisp.cisco.com/
  24. endef
  25. define Package/lispd
  26. SECTION:=net
  27. CATEGORY:=Network
  28. TITLE:=Locator/ID separation protocol (using TUN)
  29. URL:=https://github.com/LISPmob
  30. DEPENDS:= +librt +libopenssl +confuse +kmod-tun +uci @IPV6
  31. $(call Package/lispd/default)
  32. endef
  33. define Package/lispd/description
  34. This packet provides support for the Locator-ID Separation Protocol.
  35. endef
  36. MAKE_FLAGS += \
  37. platform=openwrt
  38. define Package/lispd/install
  39. $(INSTALL_DIR) $(1)/usr/sbin
  40. $(INSTALL_BIN) $(PKG_BUILD_DIR)/lispd/lispd $(1)/usr/sbin/
  41. $(INSTALL_DIR) $(1)/etc/config
  42. $(INSTALL_CONF) $(PKG_BUILD_DIR)/openWRT/lispd.uci.example $(1)/etc/config/lispd
  43. $(INSTALL_DIR) $(1)/etc/init.d
  44. $(INSTALL_BIN) $(PKG_BUILD_DIR)/openWRT/openwrt.init.script $(1)/etc/init.d/lisp
  45. endef
  46. $(eval $(call BuildPackage,lispd))