Makefile (1048B)
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:=ibrdtn 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:=37208be202f199f1790983ff78b2fa8f 17 PKG_MAINTAINER:=Johannes Morgenroth <jm@m-network.de> 18 PKG_LICENSE:=Apache-2.0 19 20 PKG_INSTALL:=1 21 PKG_FIXUP:=libtool 22 23 include $(INCLUDE_DIR)/package.mk 24 25 define Package/ibrdtn 26 SECTION:=libs 27 CATEGORY:=Libraries 28 DEPENDS:=+ibrcommon +zlib 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-compression \ 38 --without-glib 39 40 define Build/InstallDev 41 $(INSTALL_DIR) $(1) 42 $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 43 endef 44 45 define Package/ibrdtn/install 46 $(INSTALL_DIR) $(1)/usr/lib 47 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/ 48 endef 49 50 $(eval $(call BuildPackage,ibrdtn))