Root/ibrdtnd/Makefile

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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=ibrdtnd
11PKG_VERSION_MAJOR:=0
12PKG_VERSION_MINOR:=6
13PKG_VERSION_MICRO:=0
14
15PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_MINOR).$(PKG_VERSION_MICRO)
16PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
18
19PKG_INSTALL:=1
20PKG_BUILD_DEPENDS:=ibrdtn libopenssl libsqlite3
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/ibrdtnd
25  SECTION:=net
26  CATEGORY:=Network
27  DEPENDS:=ibrdtn +libopenssl +libsqlite3
28  TITLE:=DTN Deamon
29endef
30
31define Package/ibrdtnd/conffiles
32/etc/config/ibrdtn
33endef
34
35define Package/ibrdtnd/description
36 The implementation of the bundle protocol of the IBR (TU Braunschweig).
37endef
38
39CONFIGURE_ARGS += \
40        --with-dtnsec --with-sqlite
41
42define 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
55endef
56
57$(eval $(call BuildPackage,ibrdtnd))
58

Archive Download this file



interactive