41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = [
|
|
"--disable-static",
|
|
"--with-python=/usr/bin/python",
|
|
]
|
|
post_configure = ['''sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool''']
|
|
skip_tests = true # need to build libxml2 with doxygen/python first
|
|
|
|
[dependencies]
|
|
build = [ "python" ]
|
|
runtime = [
|
|
"glibc",
|
|
"sh",
|
|
"libgcrypt",
|
|
"libxml215",
|
|
"xz",
|
|
]
|
|
test = [ "docbook-xml" ]
|
|
optional = [ "python" ]
|
|
|
|
[[manual_sources]]
|
|
file = "0001-runtest-Print-output-causing-failure.patch"
|
|
sha256 = "sha512:dd55b7c5e7937bf67d9001b7e92d508447ccea4dd72f001d7a76de65ebea14485e222508096eef7165bc961de6f2926a42a2d6796576f3ff33fd7fefec9c18a1"
|
|
|
|
[package]
|
|
description = "XML stylesheet transformation library"
|
|
homepage = "https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home"
|
|
license = "MIT"
|
|
name = "libxslt"
|
|
version = "1.1.45"
|
|
revision = 2
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
patches = [ "0001-runtest-Print-output-causing-failure.patch" ]
|
|
sha256 = "9acfe68419c4d06a45c550321b3212762d92f41465062ca4ea19e632ee5d216e"
|
|
url = "https://download.gnome.org/sources/libxslt/1.1/libxslt-$version.tar.xz"
|