1
0
mirror of https://github.com/falk-werner/webfused synced 2024-10-27 20:44:08 +00:00

use meson compile and meson install

This commit is contained in:
Falk Werner 2020-10-14 21:49:21 +02:00
parent 4e168aa324
commit 69655c5784

View File

@ -21,10 +21,10 @@ install_package() {
meson)
cd "${!PACKAGE_DIR}"
meson build
cd build
ninja
sudo ninja install
cd ../..
meson compile -C build
sudo meson install -C build
# DESTDIR=$DESTDIR ninja install
cd ..
;;
cmake)
mkdir "${!PACKAGE_DIR}/build"
@ -32,6 +32,7 @@ install_package() {
cmake ..
make
sudo make install
# DESTDIR=$DESTDIR make install
cd ../..
;;
*)
@ -41,6 +42,9 @@ install_package() {
esac
}
#DESTDIR=$(realpath .)/.deps
#rm -rf .${DESTDIR}
#mkdir ${DESTDIR}
CURRENT_DIR=$(pwd)
WORKING_DIR=$(mktemp -d /tmp/install_deps_XXXXXX)