packages/net/lispmob/Makefile
acinonyx 6f2abb509e [packages] lispmob: Updating the package
Signed-off-by: Vasileios Lakafosis <lakafv@gmail.com>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 00:30:49 +00:00

51 lines
1.3 KiB
Makefile

#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=lispmob
PKG_REV:=45ebcfc06097c039351b3bf6f1b3ae7bf66990e2
PKG_VERSION:=0.3.0
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=git://github.com/LISPmob/lispmob.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
define Package/lispd/default
MAINTAINER:=Vasileios Lakafosis <lakafv@gmail.com>
URL:=http://lisp.cisco.com/
endef
define Package/lispd
SECTION:=net
CATEGORY:=Network
TITLE:=Locator/ID separation protocol (using TUN)
URL:=https://github.com/LISPmob
DEPENDS:= +librt +libopenssl +confuse +kmod-tun +uci
$(call Package/lispd/default)
endef
define Package/lispd/description
This packet provides support for the Locator-ID support protocol.
endef
define Package/lispd/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lispd/lispd $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/lispd/lispd.uci.example $(1)/etc/config/lispd
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lispd/openwrt.init.script $(1)/etc/init.d/lisp
endef
$(eval $(call BuildPackage,lispd))