2 # Copyright (C) 2017-2018 Thomas Guyot-Sionnest <tguyot@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=Thomas Guyot-Sionnest
<tguyot@gmail.com
>
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://libndp.org
/files
/
18 PKG_HASH
:=2c480afbffb02792dbae3c13bbfb71d89f735562f2795cca0640ed3428b491b6
25 include $(INCLUDE_DIR
)/package.mk
31 URL
:=https
://github.com
/jpirko
/libndp
/
34 define Package
/libndp
/description
35 Library for Neighbor Discovery Protocol
38 define Package
/libndp
/install
39 $(INSTALL_DIR
) $(1)/usr
/lib
/
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libndp.so.
* $(1)/usr
/lib
/
43 define Package
/ndptool
47 URL
:=https
://github.com
/jpirko
/libndp
/
51 define Package
/ndptool
/description
52 Tool for Neighbor Discovery Protocol
55 define Package
/ndptool
/install
56 $(INSTALL_DIR
) $(1)/usr
/bin
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/ndptool
$(1)/usr
/bin
/
60 $(eval
$(call BuildPackage
,libndp
))
61 $(eval
$(call BuildPackage
,ndptool
))