ibrdtn-tools: add new package

This package contains the tools (dtnsend, dtnrecv, dtnping, ...) of IBR-DTN, a modular
and lightweight implementation of the bundle protocol (RFC 5050).
https://github.com/ibrdtn/ibrdtn

Signed-off-by: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
This commit is contained in:
Johannes Morgenroth 2014-08-20 12:40:23 +02:00
parent 02f1617c00
commit 437478db94

49
net/ibrdtn-tools/Makefile Normal file
View file

@ -0,0 +1,49 @@
#
# Copyright (C) 2014 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:=ibrdtn-tools
PKG_VERSION:=0.12.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
PKG_MD5SUM:=0ce0c6e754263919ad48661967c2f6fd
PKG_MAINTAINER:=Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
PKG_LICENSE:=Apache-2.0
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=libarchive ibrdtn
include $(INCLUDE_DIR)/package.mk
define Package/ibrdtn-tools
SECTION:=net
CATEGORY:=Network
DEPENDS:=+ibrdtn +libarchive
TITLE:=DTN Tools
endef
define Package/ibrdtn-tools/description
The IBR-DTN Tools include functionality for sending and receiving files (dtnsend/dtnrecv)
and a tools to ping a DTN node (dtnping).
endef
define Package/ibrdtn-tools/install
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnping $(1)/usr/bin/dtnping
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnsend $(1)/usr/bin/dtnsend
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnrecv $(1)/usr/bin/dtnrecv
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtninbox $(1)/usr/bin/dtninbox
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnoutbox $(1)/usr/bin/dtnoutbox
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtntrigger $(1)/usr/bin/dtntrigger
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtntracepath $(1)/usr/bin/dtntracepath
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnstream $(1)/usr/bin/dtnstream
endef
$(eval $(call BuildPackage,ibrdtn-tools))