2 # Copyright (C) 2012-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_REV
:=45ebcfc06097c039351b3bf6f1b3ae7bf66990e2
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=git
://github.com
/LISPmob
/lispmob.git
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
22 PKG_LICENSE_FILES
:=LICENSE
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/lispd
/default
27 MAINTAINER
:=Vasileios Lakafosis
<lakafv@gmail.com
>
28 URL
:=http
://lisp.cisco.com
/
34 TITLE
:=Locator
/ID separation protocol
(using TUN
)
35 URL
:=https
://github.com
/LISPmob
36 DEPENDS
:= +librt
+libopenssl
+confuse
+kmod-tun
+uci
37 $(call Package
/lispd
/default
)
40 define Package
/lispd
/description
41 This packet provides support for the Locator-ID support protocol.
44 define Package
/lispd
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/lispd
/lispd
$(1)/usr
/sbin
/
47 $(INSTALL_DIR
) $(1)/etc
/config
48 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/lispd
/lispd.uci.example
$(1)/etc
/config
/lispd
49 $(INSTALL_DIR
) $(1)/etc
/init.d
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/lispd
/openwrt.init.script
$(1)/etc
/init.d
/lisp
53 $(eval
$(call BuildPackage
,lispd
))