fix(libxslt)

This commit is contained in:
Jacob Heider 2024-07-02 12:43:44 -04:00 committed by Jacob Heider
parent 6167620a57
commit 7ad31f62b1

View file

@ -10,21 +10,22 @@ dependencies:
build: build:
dependencies: dependencies:
freedesktop.org/pkg-config: ^0.29
gnu.org/patch: '*' gnu.org/patch: '*'
script: | script:
patch -p1 < props/xslt-config.patch.in - patch -p1 < props/xslt-config.patch.in
./configure $ARGS - ./configure $ARGS
make --jobs {{ hw.concurrency }} - make --jobs {{ hw.concurrency }}
make install - make install
cd "{{prefix}}/bin" - run: sed -i
sed -i.bak \ -e 's|{{prefix}}|"$prefix"|g'
-e 's|{{prefix}}|"$prefix"|g' \ -e 's|{{deps.gnome.org/libxml2.prefix}}|""$libxml2_prefix""|g'
-e 's|{{deps.gnome.org/libxml2.prefix}}|""$libxml2_prefix""|g' \
xslt-config xslt-config
rm xslt-config.bak working-directory: '{{prefix}}/bin'
- run: find . -name \*.la -exec rm {} \;
working-directory: '{{prefix}}/lib'
env: env:
ARGS: ARGS:
- --prefix={{prefix}} - --prefix={{prefix}}