libstrophe: update to 0.10.0
Clean up Makefile to modern standards. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
551b9a380b
commit
5b0b9f4fb1
1 changed files with 11 additions and 14 deletions
|
@ -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 <changeway@gmail.com>
|
||||
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/strophe/libstrophe/tar.gz/$(PKG_VERSION)?
|
||||
PKG_VERSION:=0.10.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_HASH:=8a3b79f62177ed59c01d4d4108357ff20bd933d53b845ee4e350d304c051a4fe
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/strophe/libstrophe/tar.gz/$(PKG_VERSION)?
|
||||
PKG_HASH:=8d804e4c74cea1133203cc95a59a88f700fbdaead076e7959b495d734dd7936d
|
||||
|
||||
PKG_MAINTAINER:=Chih-Wei Chen <changeway@gmail.com>
|
||||
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/
|
||||
|
|
Loading…
Reference in a new issue