mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
Add 8.53 - Build meson
This commit is contained in:
parent
7e096227d4
commit
9034bfc3ec
2 changed files with 31 additions and 0 deletions
19
scripts/chapter8/8.53-meson.sh
Normal file
19
scripts/chapter8/8.53-meson.sh
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
tar xf meson-0.63.1.tar.gz
|
||||||
|
cd meson-0.63.1
|
||||||
|
|
||||||
|
pip3 wheel -w dist --no-build-isolation --no-deps $PWD
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pip3 install --no-index --find-links dist meson
|
||||||
|
install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
|
||||||
|
install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
rm -rf meson-0.63.1
|
|
@ -1174,3 +1174,15 @@ then
|
||||||
stop_script "chapter8/8.52-ninja.sh"
|
stop_script "chapter8/8.52-ninja.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Chapter 8.53
|
||||||
|
# ============
|
||||||
|
echo "Building meson"
|
||||||
|
su -c "bash $SCRIPT/chapter8/8.53-meson.sh"
|
||||||
|
|
||||||
|
# Exit on error
|
||||||
|
check_exit_code
|
||||||
|
if [ $exit_status -ne 0 ]
|
||||||
|
then
|
||||||
|
stop_script "chapter8/8.53-meson.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue