generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
16
package/libxslt/Config.in
Normal file
16
package/libxslt/Config.in
Normal file
@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_LIBXSLT
|
||||
bool "libxslt"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
Install the xslt library which is used
|
||||
to transform XML files to other XML files.
|
||||
|
||||
XSLT is designed for use as part of XSL,
|
||||
which is a stylesheet language for XML.
|
||||
In addition to XSLT, XSL includes an XML vocabulary
|
||||
for specifying formatting.
|
||||
XSL specifies the styling of an XML document by using XSLT
|
||||
to describe how the document is transformed into another
|
||||
XML document that uses the formatting vocabulary.
|
||||
|
||||
https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
|
||||
5
package/libxslt/libxslt.hash
Normal file
5
package/libxslt/libxslt.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.sha256sum
|
||||
sha256 8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79 libxslt-1.1.35.tar.xz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
|
||||
36
package/libxslt/libxslt.mk
Normal file
36
package/libxslt/libxslt.mk
Normal file
@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# libxslt
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBXSLT_VERSION = 1.1.35
|
||||
LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
|
||||
LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
|
||||
LIBXSLT_INSTALL_STAGING = YES
|
||||
LIBXSLT_LICENSE = MIT
|
||||
LIBXSLT_LICENSE_FILES = COPYING
|
||||
LIBXSLT_CPE_ID_VENDOR = xmlsoft
|
||||
|
||||
LIBXSLT_CONF_OPTS = \
|
||||
--with-gnu-ld \
|
||||
--without-debug \
|
||||
--without-python \
|
||||
--with-libxml-prefix=$(STAGING_DIR)/usr
|
||||
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
||||
LIBXSLT_DEPENDENCIES = host-pkgconf libxml2
|
||||
|
||||
# If we have enabled libgcrypt then use it, else disable crypto support.
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
LIBXSLT_DEPENDENCIES += libgcrypt
|
||||
LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
else
|
||||
LIBXSLT_CONF_OPTS += --without-crypto
|
||||
endif
|
||||
|
||||
HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto
|
||||
|
||||
HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user