mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 03:29:52 +00:00
b0b5b8bf67
- This release contains fixes for CVE-2024-45490, CVE-2024-45491, CVE-2024-45492. - Since official place for expat development moved from SourceForge to GitHub, SourceForge was removed from PKG_SOURCE_URL. - Use gzip archive to avoid xz usage. - Remove DOCBOOK_TO_MAN=OFF from CMAKE_OPTIONS because we already have EXPAT_BUILD_DOCS=OFF, which has same effect. Signed-off-by: Yanase Yuki <dev@zpc.st>
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=expat
|
|
PKG_VERSION:=2.6.3
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(PKG_VERSION))
|
|
PKG_HASH:=17aa6cfc5c4c219c09287abfc10bc13f0c06f30bb654b28bfe6f567ca646eb79
|
|
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_CPE_ID:=cpe:/a:libexpat_project:libexpat
|
|
|
|
CMAKE_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/libexpat
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=An XML parsing library
|
|
URL:=https://libexpat.github.io/
|
|
endef
|
|
|
|
define Package/libexpat/description
|
|
A fast, non-validating, stream-oriented XML parsing library.
|
|
endef
|
|
|
|
CMAKE_OPTIONS += \
|
|
-DEXPAT_BUILD_TOOLS=OFF \
|
|
-DEXPAT_BUILD_EXAMPLES=OFF \
|
|
-DEXPAT_BUILD_TESTS=OFF \
|
|
-DEXPAT_BUILD_DOCS=OFF \
|
|
-DEXPAT_DTD=OFF \
|
|
-DEXPAT_NS=OFF \
|
|
-DEXPAT_DEV_URANDOM=OFF
|
|
|
|
define Package/libexpat/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libexpat))
|