2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.ibr.cs.tu-bs.de
/projects
/ibr-dtn
/releases
16 PKG_MD5SUM
:=933d37bf777700a6e1709d0f7a129613
17 PKG_MAINTAINER
:=Johannes Morgenroth
<jm@m-network.de
>
18 PKG_LICENSE
:=Apache-2.0
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/ibrdtnd
27 DEPENDS
:=+dtndht
+ibrdtn
+libsqlite3
31 define Package
/ibrdtnd
/conffiles
35 define Package
/ibrdtnd
/description
36 The implementation of the bundle protocol of the IBR
(TU Braunschweig
).
47 define Package
/ibrdtnd
/install
48 $(INSTALL_DIR
) $(1)/usr
/sbin
/
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/dtnd
$(1)/usr
/sbin
/
50 $(INSTALL_BIN
) files
/safety-wrapper.sh
$(1)/usr
/sbin
/dtnd-safety-wrapper.sh
51 $(INSTALL_DIR
) $(1)/usr
/share
/ibrdtn
/
52 $(INSTALL_BIN
) files
/build-config.sh
$(1)/usr
/share
/ibrdtn
/build-config.sh
53 $(INSTALL_BIN
) files
/mkcontainer.sh
$(1)/usr
/share
/ibrdtn
/mkcontainer.sh
54 $(INSTALL_BIN
) files
/mountcontainer.sh
$(1)/usr
/share
/ibrdtn
/mountcontainer.sh
55 $(INSTALL_BIN
) files
/systemcheck.sh
$(1)/usr
/share
/ibrdtn
/systemcheck.sh
56 $(INSTALL_DIR
) $(1)/etc
/init.d
/
57 $(INSTALL_BIN
) files
/ibrdtn.init
$(1)/etc
/init.d
/ibrdtn
58 $(INSTALL_DIR
) $(1)/etc
/config
59 $(INSTALL_CONF
) files
/ibrdtn.uci
$(1)/etc
/config
/ibrdtn
62 $(eval
$(call BuildPackage
,ibrdtnd
))