1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
libxml2/.gitlab-ci/downstream-perl.sh
2024-07-04 15:47:49 +02:00

19 lines
359 B
Bash

#!/bin/sh
set -e
sh autogen.sh --without-python
make -j$(nproc)
srcdir=$(pwd)
incdir=$srcdir/include
libdir=$srcdir/.libs
curl -L https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0210.tar.gz |tar xz
cd XML-LibXML-2.0210
perl Makefile.PL INC="-I$incdir" LIBS="-L$libdir -lxml2"
make
# Known to fail
LD_LIBRARY_PATH=$libdir make test || true