From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/libxslt.xibuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'repo/system/libxslt.xibuild') 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 } -- cgit v1.2.1