Sin descripción

Makefile 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # Copyright (C) 2015 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:=ibrdtn-tools
  9. PKG_VERSION:=1.0.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
  13. PKG_MD5SUM:=3e527cedc6132739403fc210e4f8abe2
  14. PKG_MAINTAINER:=Johannes Morgenroth <jm@m-network.de>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/ibrdtn-tools
  19. SECTION:=net
  20. CATEGORY:=Network
  21. DEPENDS:=+ibrdtn +libarchive
  22. TITLE:=DTN Tools
  23. endef
  24. define Package/ibrdtn-tools/description
  25. The IBR-DTN Tools include functionality for sending and receiving files (dtnsend/dtnrecv)
  26. and a tools to ping a DTN node (dtnping).
  27. endef
  28. CONFIGURE_ARGS += \
  29. --without-libdaemon
  30. define Package/ibrdtn-tools/install
  31. $(INSTALL_DIR) $(1)/usr/bin/
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnping $(1)/usr/bin/dtnping
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnsend $(1)/usr/bin/dtnsend
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnrecv $(1)/usr/bin/dtnrecv
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtninbox $(1)/usr/bin/dtninbox
  36. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnoutbox $(1)/usr/bin/dtnoutbox
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtntrigger $(1)/usr/bin/dtntrigger
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtntracepath $(1)/usr/bin/dtntracepath
  39. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnstream $(1)/usr/bin/dtnstream
  40. endef
  41. $(eval $(call BuildPackage,ibrdtn-tools))