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.

47 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:=dtndht
  9. PKG_VERSION:=0.2.3
  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:=37c33910ac7e760aad4db81724aeb4fb
  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:=libopenssl
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/dtndht
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. DEPENDS:=+libopenssl
  24. TITLE:=Library for DHT lookups for DTNs
  25. endef
  26. define Package/dtndht/description
  27. A library with DHT functions for DTN name lookups.
  28. endef
  29. define Build/InstallDev
  30. $(INSTALL_DIR) $(1)
  31. $(CP) $(PKG_INSTALL_DIR)/* $(1)/
  32. endef
  33. define Package/dtndht/install
  34. $(INSTALL_DIR) $(1)/usr/lib
  35. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$(PKG_NAME){.so,-$(PKG_VERSION_MAJOR).$(PKG_VERSION_MINOR).so.*} $(1)/usr/lib/
  36. endef
  37. $(eval $(call BuildPackage,dtndht))