2016-02-23 14:47:04 -05:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2016 OpenWrt.org
|
2017-01-05 02:10:42 +01:00
|
|
|
# Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net>
|
2016-02-23 14:47:04 -05:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=poco
|
2021-08-07 20:52:51 -07:00
|
|
|
PKG_VERSION:=1.11.0
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 16:32:27 +00:00
|
|
|
PKG_RELEASE:=2
|
2016-02-23 14:47:04 -05:00
|
|
|
|
2019-10-09 06:34:25 -04:00
|
|
|
ifeq ($(BUILD_VARIANT),all)
|
2019-10-09 07:00:57 -04:00
|
|
|
_PKG_VERSION:=${PKG_VERSION}-all
|
2021-08-07 20:52:51 -07:00
|
|
|
PKG_HASH:=b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1
|
2019-10-09 06:34:25 -04:00
|
|
|
else
|
2019-10-09 07:00:57 -04:00
|
|
|
_PKG_VERSION:=${PKG_VERSION}
|
2021-08-07 20:52:51 -07:00
|
|
|
PKG_HASH:=06ddc4934ff0a11be425d697f861c15b43b77b610e3642a2f85d0c34d7425ea4
|
2019-10-09 06:34:25 -04:00
|
|
|
endif
|
|
|
|
|
2019-10-09 07:00:57 -04:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(_PKG_VERSION).tar.bz2
|
2019-10-09 06:34:25 -04:00
|
|
|
PKG_SOURCE_URL:=https://pocoproject.org/releases/$(PKG_NAME)-$(PKG_VERSION)
|
2021-10-17 18:57:46 -07:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(_PKG_VERSION)
|
2016-02-23 14:47:04 -05:00
|
|
|
|
2021-03-25 19:58:02 -07:00
|
|
|
PKG_MAINTAINER:=Jean-Michel Julien <jean-michel.julien@trilliantinc.com>
|
2016-02-23 14:47:04 -05:00
|
|
|
PKG_LICENSE:=BSL-1.0
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2019-09-19 16:07:09 +02:00
|
|
|
PKG_CPE_ID:=cpe:/a:pocoproject:poco
|
2016-02-23 14:47:04 -05:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-10-17 18:57:46 -07:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2016-02-23 14:47:04 -05:00
|
|
|
|
|
|
|
define Package/poco
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=Poco C++ libraries
|
2018-11-19 14:07:05 -08:00
|
|
|
URL:=https://www.pocoproject.org/
|
2019-10-09 06:34:25 -04:00
|
|
|
DEPENDS:=+libstdcpp +libpthread +librt @!arc
|
|
|
|
VARIANT:=minimal
|
2016-02-23 14:47:04 -05:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/poco/description
|
|
|
|
POrtable COmponents, a modern and powerful open source C++ class libraries
|
|
|
|
and frameworks for building network and internet-based applications that
|
|
|
|
run on desktop, server and embedded systems.
|
|
|
|
endef
|
|
|
|
|
2019-10-09 06:34:25 -04:00
|
|
|
define Package/poco-all
|
|
|
|
$(call Package/poco)
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE+=(Complete Edition)
|
2021-10-17 18:57:46 -07:00
|
|
|
DEPENDS+=+libopenssl +libmariadb +libpq +unixodbc
|
2019-10-09 06:34:25 -04:00
|
|
|
VARIANT:=all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/poco-all/description
|
|
|
|
POrtable COmponents, a modern and powerful open source C++ class libraries
|
|
|
|
and frameworks for building network and internet-based applications that
|
|
|
|
run on desktop, server and embedded systems. The Complete Edition contains
|
|
|
|
all libraries.
|
|
|
|
endef
|
|
|
|
|
2016-02-23 14:47:04 -05:00
|
|
|
define Package/poco/install
|
2019-10-09 06:34:25 -04:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2021-10-17 18:57:46 -07:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco*.so* $(1)/usr/lib/
|
2019-10-09 06:34:25 -04:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/poco-all/install
|
2016-02-23 14:47:04 -05:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2021-10-17 18:57:46 -07:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco*.so* $(1)/usr/lib/
|
2016-02-23 14:47:04 -05:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2016-03-12 01:10:04 +08:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/Poco $(1)/usr/include/
|
2016-02-23 14:47:04 -05:00
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2021-10-17 18:57:46 -07:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libPoco*.so* $(1)/usr/lib/
|
2016-02-23 14:47:04 -05:00
|
|
|
endef
|
|
|
|
|
2019-10-21 10:22:49 -04:00
|
|
|
|
2016-02-23 14:47:04 -05:00
|
|
|
$(eval $(call BuildPackage,poco))
|
2019-10-09 06:34:25 -04:00
|
|
|
$(eval $(call BuildPackage,poco-all))
|