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.

49 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:=ibrcommon
  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_MD5SUM:=0104763ede969c470f32244d76c234b8
  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/ibrcommon
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. DEPENDS:=+libstdcpp +libpthread +librt +libnl +libopenssl
  23. TITLE:=IBR Common C++ Library
  24. endef
  25. CONFIGURE_ARGS += \
  26. --with-openssl
  27. define Package/ibrcommon/description
  28. A library with common functions for C++.
  29. endef
  30. define Build/InstallDev
  31. $(INSTALL_DIR) $(1)
  32. $(CP) $(PKG_INSTALL_DIR)/* $(1)/
  33. endef
  34. define Package/ibrcommon/install
  35. $(INSTALL_DIR) $(1)/usr/lib
  36. $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
  37. endef
  38. $(eval $(call BuildPackage,ibrcommon))