From a6e2d1a3deae4d29f3cbb160d20e477cf35de5ed Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 4 Dec 2019 11:04:45 -0800 Subject: [PATCH] libical: Update to 3.0.6 Replace InstallDev with CMAKE_INSTALL. Add PKG_BUILD_PARALLEL for faster compilation. Fixed license info. Refreshed patch. Signed-off-by: Rosen Penev --- libs/libical/Makefile | 20 +++++++------------ .../001-disable-icu-and-bdb-support.patch | 4 +--- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/libs/libical/Makefile b/libs/libical/Makefile index 4528678187..b2a551c7f0 100644 --- a/libs/libical/Makefile +++ b/libs/libical/Makefile @@ -8,16 +8,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libical -PKG_VERSION:=3.0.4 +PKG_VERSION:=3.0.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_HASH:=72b216e10233c3f60cb06062facf41f3b0f70615e5a60b47f9853341a0d5d145 +PKG_HASH:=5c8a21c2b732ece4a33e5c862970b4f35a8548bbcda50de5695f6fc211ac4d97 PKG_SOURCE_URL:=https://github.com/libical/libical/releases/download/v$(PKG_VERSION)/ -PKG_LICENSE:=LGPL-2.1 MPL-2.0 -PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Jose Zapater +PKG_LICENSE:=LGPL-2.1-or-later MPL-2.0 +PKG_LICENSE_FILES:=COPYING + +CMAKE_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk @@ -40,15 +43,6 @@ endef CMAKE_OPTIONS += -DWITH_CXX_BINDINGS=false -DICAL_BUILD_DOCS=false -DICAL_GLIB=false -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/libical - $(CP) $(PKG_INSTALL_DIR)/usr/include/libical/* $(1)/usr/include/libical/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libical{,ss,vcal}.{a,so*} $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libical.pc $(1)/usr/lib/pkgconfig/ -endef - define Package/libical/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libical{,ss,vcal}.so.* $(1)/usr/lib/ diff --git a/libs/libical/patches/001-disable-icu-and-bdb-support.patch b/libs/libical/patches/001-disable-icu-and-bdb-support.patch index 25598b70c5..0f50876377 100644 --- a/libs/libical/patches/001-disable-icu-and-bdb-support.patch +++ b/libs/libical/patches/001-disable-icu-and-bdb-support.patch @@ -1,8 +1,6 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1cc7180..295bc20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -161,43 +161,43 @@ endif() +@@ -170,43 +170,43 @@ endif() # libicu is highly recommended for RSCALE support # libicu can be found at http://www.icu-project.org # RSCALE info at http://tools.ietf.org/html/rfc7529 -- 2.30.2