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.

51 lines
1.1 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:=2
  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_HASH:=288b14ccbaefb5e3234065c2778c247797ccb3c7afbb6746bb37dc12c620d360
  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)/uclibc++.mk
  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. --without-glib
  32. define Build/InstallDev
  33. $(INSTALL_DIR) $(1)
  34. $(CP) $(PKG_INSTALL_DIR)/* $(1)/
  35. endef
  36. define Package/ibrdtn/install
  37. $(INSTALL_DIR) $(1)/usr/lib
  38. $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
  39. endef
  40. $(eval $(call BuildPackage,ibrdtn))