インストール: libxslt | XSLTの基本ライブラリー
XMLのスタイルを指定するXSLTのC言語のライブラリーをソースコードからインストールする。
libxsltはXMLをデータに使ったソフトウェアで,スタイルの処理に使われている。
項目 | 説明 |
---|---|
配布元 | libxslt |
リポジトリー | GNOME / libxslt · GitLab |
手順 | INSTALL · master · GNOME / libxslt · GitLab |
依存情報 | INSTALL · master · GNOME / libxslt · GitLab |
依存先 (必須) | libxml2 |
依存先 (任意) | |
依存元 | GnuCash |
sh -eux <<-"EOT"
PKG=libxslt VER=1.1.33 TAG=v$VER
LOCAL=~/.local J=$(grep -cs '^processor' /proc/cpuinfo || echo 2)
mkdir -p "$LOCAL/src"
cd "$LOCAL/src"
if command -v git >/dev/null; then
[ -e $PKG ] || git clone --depth 1 https://gitlab.gnome.org/GNOME/libxslt/ $PKG
cd $PKG
git fetch --depth 1 origin tag $TAG
git checkout -f $TAG
git clean -dfX
[ -e configure.ac ] && autoreconf -is
else
[ -e $PKG-$VER ] || wget
tar -xf $PKG-$VER.*
cd $PKG-$VER
make -kj $J distclean clean || :
fi
if [ -e CMakeLists.txt ] && command -v cmake >/dev/null; then
cmake -D CMAKE_INSTALL_PREFIX="$LOCAL/stow/$PKG-$VER" .
ctest -j $J
else
[ -x configure ] && ./configure --prefix="$LOCAL/stow/$PKG-$VER"
fi
make -j $J
make -j $J check
make -j $J install
cd "$LOCAL/stow"
echo $PKG-[0-9]* | xargs -n 1 stow --ignore=dir -D
stow --ignore=dir $PKG-$VER
EOT
日付 | バージョン | OS | 依存関係 |
---|---|---|---|
2020-02-05 | 1.1.33 | Ubuntu 18.04 | GNU Make 4.2.1, GCC 7.4.0, libxml2 2.9.8 |
“インストール: libxslt | XSLTの基本ライブラリー” に対して1件のコメントがあります。