From 81276bac948137f038ee73e14e0cca52f1b64af3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 5 Jun 2019 18:48:17 -0700 Subject: [PATCH] log4cplus: Update to 2.0.4 Switch to SourceForge URL. More mirrors available. Remove InstallDev section. This is already included with CMAKE_INSTALL. Minor cleanups. Signed-off-by: Rosen Penev --- libs/log4cplus/Makefile | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/libs/log4cplus/Makefile b/libs/log4cplus/Makefile index 314d556b4..3fb57efaa 100644 --- a/libs/log4cplus/Makefile +++ b/libs/log4cplus/Makefile @@ -9,15 +9,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=log4cplus -PKG_VERSION:=2.0.3 -PKG_RELEASE:=2 -PKG_MAINTAINER:=BangLang Huang , Rosy Song +PKG_VERSION:=2.0.4 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=https://github.com/log4cplus/log4cplus/releases/download/REL_2_0_3/ -PKG_HASH:=c55742c348d09b33219eea00d65b05bdd78ea967761b980b7134855fe24c5f73 +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_HASH:=faf15f3651e2d0f9f9cf2c1bfcb38ec4962f22f4a671410453a27c0976da5e36 +PKG_MAINTAINER:=BangLang Huang , Rosy Song +PKG_LICENSE:=BSD-2-Clause Apache-2.0 PKG_LICENSE_FILES:=LICENSE + CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -39,7 +41,6 @@ define Package/log4cplus/description endef TARGET_CFLAGS += -flto - TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed CMAKE_OPTIONS += \ @@ -48,17 +49,10 @@ CMAKE_OPTIONS += \ -DUNICODE:BOOL=OFF \ -DWITH_ICONV:BOOL=OFF -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/log4cplus $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblog4cplus*.so* $(1)/usr/lib -endef - define Package/log4cplus/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblog4cplus*.so* $(1)/usr/lib endef -$(eval $(call HostBuild)) $(eval $(call BuildPackage,log4cplus)) +$(eval $(call HostBuild))