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.0 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ibrdtn
  9. PKG_VERSION:=1.0.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:=37208be202f199f1790983ff78b2fa8f
  14. PKG_MAINTAINER:=Johannes Morgenroth <jm@m-network.de>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_INSTALL:=1
  17. PKG_FIXUP:=libtool
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/ibrdtn
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. DEPENDS:=+ibrcommon +zlib
  23. TITLE:=IBR-DTN Library
  24. endef
  25. define Package/ibrdtn/description
  26. Base library for IBR-DTN daemon and tools.
  27. endef
  28. CONFIGURE_ARGS += \
  29. --with-compression \
  30. --without-glib
  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))