You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.7 KiB

  1. #
  2. # Copyright (C) 2014 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:=ibrdtnd
  9. PKG_VERSION:=1.0.0
  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:=7fd48b2eec5058fa15f6977afd4e8dab
  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/ibrdtnd
  19. SECTION:=net
  20. CATEGORY:=Network
  21. DEPENDS:=+dtndht +ibrdtn +libsqlite3
  22. TITLE:=DTN Daemon
  23. endef
  24. define Package/ibrdtnd/conffiles
  25. /etc/config/ibrdtn
  26. endef
  27. define Package/ibrdtnd/description
  28. The implementation of the bundle protocol of the IBR (TU Braunschweig).
  29. endef
  30. CONFIGURE_ARGS += \
  31. --with-tls \
  32. --with-sqlite \
  33. --with-dht \
  34. --without-wifip2p \
  35. --without-vmime \
  36. --disable-libdaemon
  37. define Package/ibrdtnd/install
  38. $(INSTALL_DIR) $(1)/usr/sbin/
  39. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dtnd $(1)/usr/sbin/
  40. $(INSTALL_BIN) files/safety-wrapper.sh $(1)/usr/sbin/dtnd-safety-wrapper.sh
  41. $(INSTALL_DIR) $(1)/usr/share/ibrdtn/
  42. $(INSTALL_BIN) files/build-config.sh $(1)/usr/share/ibrdtn/build-config.sh
  43. $(INSTALL_BIN) files/mkcontainer.sh $(1)/usr/share/ibrdtn/mkcontainer.sh
  44. $(INSTALL_BIN) files/mountcontainer.sh $(1)/usr/share/ibrdtn/mountcontainer.sh
  45. $(INSTALL_BIN) files/systemcheck.sh $(1)/usr/share/ibrdtn/systemcheck.sh
  46. $(INSTALL_DIR) $(1)/etc/init.d/
  47. $(INSTALL_BIN) files/ibrdtn.init $(1)/etc/init.d/ibrdtn
  48. $(INSTALL_DIR) $(1)/etc/config
  49. $(INSTALL_CONF) files/ibrdtn.uci $(1)/etc/config/ibrdtn
  50. endef
  51. $(eval $(call BuildPackage,ibrdtnd))