noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[feed/packages.git] / net / ibrdtnd / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ibrdtnd
11 PKG_VERSION:=1.0.1
12 PKG_RELEASE:=1
13
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
19
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/ibrdtnd
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+dtndht +ibrdtn +libsqlite3
28 TITLE:=DTN Daemon
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-tls \
41 --with-sqlite \
42 --with-dht \
43 --without-wifip2p \
44 --without-vmime \
45 --disable-libdaemon
46
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
60 endef
61
62 $(eval $(call BuildPackage,ibrdtnd))