You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ibrdtn
  9. PKG_VERSION:=0.12.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
  13. PKG_MD5SUM:=96428dd4af541ea0c52db80776976a65
  14. PKG_MAINTAINER:=Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_INSTALL:=1
  17. PKG_FIXUP:=libtool
  18. PKG_BUILD_DEPENDS:=ibrcommon zlib
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/ibrdtn
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. DEPENDS:=+ibrcommon +zlib
  24. TITLE:=IBR-DTN Library
  25. endef
  26. define Package/ibrdtn/description
  27. Base library for IBR-DTN daemon and tools.
  28. endef
  29. CONFIGURE_ARGS += \
  30. --with-compression
  31. define Build/InstallDev
  32. $(INSTALL_DIR) $(1)
  33. $(CP) $(PKG_INSTALL_DIR)/* $(1)/
  34. endef
  35. define Package/ibrdtn/install
  36. $(INSTALL_DIR) $(1)/usr/lib
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
  38. endef
  39. $(eval $(call BuildPackage,ibrdtn))