summaryrefslogtreecommitdiff
path: root/repo/system/libxslt.xibuild
diff options
context:
space:
mode:
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
}