mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(libxslt)
This commit is contained in:
parent
6167620a57
commit
7ad31f62b1
|
@ -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
|
working-directory: '{{prefix}}/bin'
|
||||||
rm xslt-config.bak
|
|
||||||
|
- run: find . -name \*.la -exec rm {} \;
|
||||||
|
working-directory: '{{prefix}}/lib'
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
|
|
Loading…
Reference in a new issue