From 5b0b9f4fb1b19cc269b833de6b4b5b0e39bfa20b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 20 Sep 2020 17:32:17 -0700 Subject: [PATCH] libstrophe: update to 0.10.0 Clean up Makefile to modern standards. Signed-off-by: Rosen Penev --- libs/libstrophe/Makefile | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/libs/libstrophe/Makefile b/libs/libstrophe/Makefile index 1858b4088..553290137 100644 --- a/libs/libstrophe/Makefile +++ b/libs/libstrophe/Makefile @@ -8,17 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libstrophe -PKG_VERSION:=0.9.3 -PKG_RELEASE=1 - -PKG_LICENSE:=GPL-3.0-or-later -PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Chih-Wei Chen +PKG_VERSION:=0.10.0 +PKG_RELEASE:=1 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/strophe/libstrophe/tar.gz/$(PKG_VERSION)? +PKG_HASH:=8d804e4c74cea1133203cc95a59a88f700fbdaead076e7959b495d734dd7936d -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_HASH:=8a3b79f62177ed59c01d4d4108357ff20bd933d53b845ee4e350d304c051a4fe +PKG_MAINTAINER:=Chih-Wei Chen +PKG_LICENSE:=GPL-3.0-or-later +PKG_LICENSE_FILES:=COPYING PKG_FIXUP:=autoreconf PKG_INSTALL:=1 @@ -30,11 +29,6 @@ PKG_CONFIG_DEPENDS:= \ include $(INCLUDE_DIR)/package.mk -ifeq ($(CONFIG_libstrophe-libxml2),y) -CONFIGURE_ARGS += \ - --with-libxml2 -endif - define Package/libstrophe SECTION:=libs CATEGORY:=Libraries @@ -52,6 +46,9 @@ define Package/libstrophe/config source "$(SOURCE)/Config.in" endef +CONFIGURE_ARGS += \ + --with$(if $(CONFIG_libstrophe-libxml2),,out)-libxml2 + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/ $(CP) $(PKG_INSTALL_DIR)/usr/include/ $(1)/usr/