added meson

This commit is contained in:
Ohio2 2021-07-18 23:09:21 +02:00
parent 45f443986a
commit a9e5b3a844
4 changed files with 12 additions and 2 deletions

5
meson/build Executable file
View file

@ -0,0 +1,5 @@
wget https://github.com/mesonbuild/meson/releases/download/0.58.1/meson-0.58.1.tar.gz
tar -xf meson-0.58.1.tar.gz
cd meson-0.58.1
pip3 install $1

5
meson/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="0.58.1"
pkg_config_name="meson"
pkg_config_makedepends="python ninja "
pkg_config_depends=""

View file

@ -1,6 +1,6 @@
git clone https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.2.tar.gz git clone https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.2.tar.gz
tar -xf v1.10.2.tar.gz tar -xf v1.10.2.tar.gz
cd v1.10.2 cd ninja-1.10.2
./configure.py --bootstrap ./configure.py --bootstrap
cp -pv ninja "$1"/usr/bin cp -pv ninja "$1"/usr/bin

View file

@ -1,5 +1,5 @@
pkg_config_deploy=true pkg_config_deploy=true
pkg_config_ver="3.9.6" pkg_config_ver="3.9.6"
pkg_config_name="python" pkg_config_name="python"
pkg_config_makedepends="gcc" pkg_config_makedepends=""
pkg_config_depends="" pkg_config_depends=""