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.

65 lines
1.8 KiB

  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:=ibrdtnd
  9. PKG_VERSION:=1.0.1
  10. PKG_RELEASE:=5
  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_HASH:=9bd79636154093ab6bf4fd10d6c62d67c6db45141460847b19def327c93771ed
  14. PKG_MAINTAINER:=Johannes Morgenroth <jm@m-network.de>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/uclibc++.mk
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/ibrdtnd
  21. SECTION:=net
  22. CATEGORY:=Network
  23. DEPENDS:=+dtndht +ibrdtn +libsqlite3
  24. TITLE:=DTN Daemon
  25. endef
  26. define Package/ibrdtnd/conffiles
  27. /etc/config/ibrdtn
  28. endef
  29. define Package/ibrdtnd/description
  30. The implementation of the bundle protocol of the IBR (TU Braunschweig).
  31. endef
  32. CONFIGURE_ARGS += \
  33. --with-tls \
  34. --with-sqlite \
  35. --with-dht \
  36. --without-wifip2p \
  37. --without-vmime \
  38. --disable-libdaemon
  39. define Package/ibrdtnd/install
  40. $(INSTALL_DIR) $(1)/usr/sbin/
  41. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dtnd $(1)/usr/sbin/
  42. $(INSTALL_BIN) files/safety-wrapper.sh $(1)/usr/sbin/dtnd-safety-wrapper.sh
  43. $(INSTALL_DIR) $(1)/usr/share/ibrdtn/
  44. $(INSTALL_BIN) files/build-config.sh $(1)/usr/share/ibrdtn/build-config.sh
  45. $(INSTALL_BIN) files/mkcontainer.sh $(1)/usr/share/ibrdtn/mkcontainer.sh
  46. $(INSTALL_BIN) files/mountcontainer.sh $(1)/usr/share/ibrdtn/mountcontainer.sh
  47. $(INSTALL_BIN) files/systemcheck.sh $(1)/usr/share/ibrdtn/systemcheck.sh
  48. $(INSTALL_DIR) $(1)/etc/init.d/
  49. $(INSTALL_BIN) files/ibrdtn.init $(1)/etc/init.d/ibrdtn
  50. $(INSTALL_DIR) $(1)/etc/config
  51. $(INSTALL_CONF) files/ibrdtn.uci $(1)/etc/config/ibrdtn
  52. endef
  53. $(eval $(call BuildPackage,ibrdtnd))