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:=ibrdtn |
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_FIXUP:=libtool |
21 | PKG_BUILD_DEPENDS:=ibrcommon libopenssl |
22 | |
23 | include $(INCLUDE_DIR)/package.mk |
24 | |
25 | define Package/ibrdtn |
26 | SECTION:=libs |
27 | CATEGORY:=Libraries |
28 | DEPENDS:=ibrcommon +libopenssl |
29 | TITLE:=IBR-DTN Library |
30 | endef |
31 | |
32 | define Package/ibrdtn/description |
33 | Base library for IBR-DTN daemon and tools. |
34 | endef |
35 | |
36 | CONFIGURE_ARGS += \ |
37 | --with-dtnsec |
38 | |
39 | define Build/InstallDev |
40 | $(INSTALL_DIR) $(1) |
41 | $(CP) $(PKG_INSTALL_DIR)/* $(1)/ |
42 | endef |
43 | |
44 | define Package/ibrdtn/install |
45 | $(INSTALL_DIR) $(1)/usr/lib |
46 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$(PKG_NAME){.so,-$(PKG_VERSION_MAJOR).$(PKG_VERSION_MINOR).so.*} $(1)/usr/lib/ |
47 | endef |
48 | |
49 | $(eval $(call BuildPackage,ibrdtn)) |
50 |