summaryrefslogtreecommitdiff
path: root/repo/system/libxslt.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/libxslt.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/libxslt.xibuild')
-rw-r--r--repo/system/libxslt.xibuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/repo/system/libxslt.xibuild b/repo/system/libxslt.xibuild
index 4971372..80bda77 100644
--- a/repo/system/libxslt.xibuild
+++ b/repo/system/libxslt.xibuild
@@ -7,13 +7,18 @@ SOURCE=http://xmlsoft.org/sources/libxslt-$PKG_VER.tar.gz
DESC="XML stylesheet transformation library"
-build () {
+patch () {
sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &&
sed -i -r '/max(Parser)?Depth/d' ./tests/fuzz/fuzz.c &&
+}
+
+build () {
./configure --prefix=/usr --disable-static --without-python &&
make
sed -e 's@http://cdn.docbook.org/release/xsl@https://cdn.docbook.org/release/xsl-nons@' \
-e 's@\$Date\$@31 October 2019@' -i doc/xsltproc.xml &&
xsltproc/xsltproc --nonet doc/xsltproc.xml -o doc/xsltproc.1
+}
+package () {
make DESTDIR=$PKG_DEST install
}