liburcu: Update to 0.8.6
[feed/packages.git] / net / ibrdtnd / Makefile
1 #
2 # Copyright (C) 2014 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:=0.12.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:=8dad5ebbcfaa4c16ba151c9c289066c3
17 PKG_MAINTAINER:=Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
18 PKG_LICENSE:=Apache-2.0
19
20 PKG_INSTALL:=1
21 PKG_FIXUP:=autoreconf
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/ibrdtnd
26 SECTION:=net
27 CATEGORY:=Network
28 DEPENDS:=+dtndht +ibrdtn +libsqlite3
29 TITLE:=DTN Deamon
30 endef
31
32 define Package/ibrdtnd/conffiles
33 /etc/config/ibrdtn
34 endef
35
36 define Package/ibrdtnd/description
37 The implementation of the bundle protocol of the IBR (TU Braunschweig).
38 endef
39
40 CONFIGURE_ARGS += \
41 --with-tls \
42 --with-sqlite \
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))