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.

64 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2007-2016 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:=poco
  9. PKG_VERSION:=1.7.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://pocoproject.org/releases/poco-1.7.0
  13. PKG_MD5SUM:=dbbc98ab95910cc31bf4f1ffff9ac572
  14. PKG_LICENSE:=BSL-1.0
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/poco
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. TITLE:=Poco C++ libraries
  22. URL:=http://www.pocoproject.org/
  23. DEPENDS:=+libstdcpp +libpthread +librt
  24. MAINTAINER:=Jean-Michel Julien <jean-michel.julien@trilliantinc.com>
  25. endef
  26. define Package/poco/description
  27. POrtable COmponents, a modern and powerful open source C++ class libraries
  28. and frameworks for building network and internet-based applications that
  29. run on desktop, server and embedded systems.
  30. endef
  31. CONFIGURE_ARGS += \
  32. --config=Linux \
  33. --no-tests \
  34. --no-samples \
  35. --no-fpenvironment \
  36. --no-sharedmemory \
  37. --no-wstring \
  38. --poquito \
  39. --minimal \
  40. --shared
  41. define Package/poco/install
  42. $(INSTALL_DIR) $(1)/usr/lib
  43. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util}.so* $(1)/usr/lib/
  44. endef
  45. define Build/InstallDev
  46. $(INSTALL_DIR) $(1)/usr/include
  47. $(CP) $(PKG_INSTALL_DIR)/usr/include/Poco $(1)/usr/include/
  48. $(INSTALL_DIR) $(1)/usr/lib
  49. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util}.so* $(1)/usr/lib/
  50. endef
  51. $(eval $(call BuildPackage,poco))