poco: Changed poco version to all, and from minimal build to typical.

Signed-off-by: Jakub Jalowiczor <jaluwka@gmail.com>
This commit is contained in:
Jakub Jalowiczor 2019-10-07 06:03:10 -04:00
parent 318e6acddb
commit 83c21577a4
3 changed files with 17 additions and 21 deletions

View file

@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=poco PKG_NAME:=poco
PKG_VERSION:=1.9.0 PKG_VERSION:=1.9.0-all
PKG_RELEASE:=2 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://pocoproject.org/releases/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_URL:=https://pocoproject.org/releases/$(PKG_NAME)-$(PKG_VERSION)
PKG_HASH:=a0a5a03d87c585f1a43def33bfc52c0c34a528e43a7b13bc83841a7c00adde39 PKG_HASH:=b6e33898588e74337efec4e8d8b9b277bb653b08318a79215f9aa4a3ff1ea9fd
PKG_LICENSE:=BSL-1.0 PKG_LICENSE:=BSL-1.0
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -47,13 +47,12 @@ CONFIGURE_ARGS += \
--no-fpenvironment \ --no-fpenvironment \
--no-sharedmemory \ --no-sharedmemory \
--no-wstring \ --no-wstring \
--poquito \ --typical \
--minimal \
--shared --shared
define Package/poco/install define Package/poco/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util}.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util,Crypto,NetSSL,Encodings}.so* $(1)/usr/lib/
endef endef
define Build/InstallDev define Build/InstallDev
@ -61,7 +60,7 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/include/Poco $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/Poco $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util}.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco{Foundation,XML,JSON,Net,Util,Crypto,NetSSL,Encodings}.so* $(1)/usr/lib/
endef endef
$(eval $(call BuildPackage,poco)) $(eval $(call BuildPackage,poco))

View file

@ -1,15 +1,11 @@
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -237,9 +237,9 @@ while [ $# -ge 1 ]; do @@ -238,6 +238,6 @@
;;
*) *)
- showhelp - showhelp
- exit 1 - exit 1
- ;;
+# showhelp +# showhelp
+# exit 1 +# exit 1
+# ;; ;;
esac esac
shift

View file

@ -9,3 +9,4 @@
setMessage(strerror_r(err, _buffer, sizeof(_buffer))); setMessage(strerror_r(err, _buffer, sizeof(_buffer)));
#else #else
setMessage(strerror(err)); setMessage(strerror(err));