OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # Copyright (C) 2006 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=ibrdtnd |
| 11 | PKG_VERSION_MAJOR:=0 |
| 12 | PKG_VERSION_MINOR:=6 |
| 13 | PKG_VERSION_MICRO:=0 |
| 14 | |
| 15 | PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_MINOR).$(PKG_VERSION_MICRO) |
| 16 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 17 | PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases |
| 18 | |
| 19 | PKG_INSTALL:=1 |
| 20 | PKG_BUILD_DEPENDS:=ibrdtn libopenssl libsqlite3 |
| 21 | |
| 22 | include $(INCLUDE_DIR)/package.mk |
| 23 | |
| 24 | define Package/ibrdtnd |
| 25 | SECTION:=net |
| 26 | CATEGORY:=Network |
| 27 | DEPENDS:=ibrdtn +libopenssl +libsqlite3 |
| 28 | TITLE:=DTN Deamon |
| 29 | endef |
| 30 | |
| 31 | define Package/ibrdtnd/conffiles |
| 32 | /etc/config/ibrdtn |
| 33 | endef |
| 34 | |
| 35 | define Package/ibrdtnd/description |
| 36 | The implementation of the bundle protocol of the IBR (TU Braunschweig). |
| 37 | endef |
| 38 | |
| 39 | CONFIGURE_ARGS += \ |
| 40 | --with-dtnsec --with-sqlite |
| 41 | |
| 42 | define Package/ibrdtnd/install |
| 43 | $(INSTALL_DIR) $(1)/usr/sbin/ |
| 44 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dtnd $(1)/usr/sbin/ |
| 45 | $(INSTALL_BIN) files/safety-wrapper.sh $(1)/usr/sbin/dtnd-safety-wrapper.sh |
| 46 | $(INSTALL_DIR) $(1)/usr/share/ibrdtn/ |
| 47 | $(INSTALL_BIN) files/build-config.sh $(1)/usr/share/ibrdtn/build-config.sh |
| 48 | $(INSTALL_BIN) files/mkcontainer.sh $(1)/usr/share/ibrdtn/mkcontainer.sh |
| 49 | $(INSTALL_BIN) files/mountcontainer.sh $(1)/usr/share/ibrdtn/mountcontainer.sh |
| 50 | $(INSTALL_BIN) files/systemcheck.sh $(1)/usr/share/ibrdtn/systemcheck.sh |
| 51 | $(INSTALL_DIR) $(1)/etc/init.d/ |
| 52 | $(INSTALL_BIN) files/ibrdtn.init $(1)/etc/init.d/ibrdtn |
| 53 | $(INSTALL_DIR) $(1)/etc/config |
| 54 | $(INSTALL_CONF) files/ibrdtn.uci $(1)/etc/config/ibrdtn |
| 55 | endef |
| 56 | |
| 57 | $(eval $(call BuildPackage,ibrdtnd)) |
| 58 |
