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:
parent
4e168aa324
commit
69655c5784
@ -21,10 +21,10 @@ install_package() {
|
|||||||
meson)
|
meson)
|
||||||
cd "${!PACKAGE_DIR}"
|
cd "${!PACKAGE_DIR}"
|
||||||
meson build
|
meson build
|
||||||
cd build
|
meson compile -C build
|
||||||
ninja
|
sudo meson install -C build
|
||||||
sudo ninja install
|
# DESTDIR=$DESTDIR ninja install
|
||||||
cd ../..
|
cd ..
|
||||||
;;
|
;;
|
||||||
cmake)
|
cmake)
|
||||||
mkdir "${!PACKAGE_DIR}/build"
|
mkdir "${!PACKAGE_DIR}/build"
|
||||||
@ -32,6 +32,7 @@ install_package() {
|
|||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
# DESTDIR=$DESTDIR make install
|
||||||
cd ../..
|
cd ../..
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -41,6 +42,9 @@ install_package() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#DESTDIR=$(realpath .)/.deps
|
||||||
|
#rm -rf .${DESTDIR}
|
||||||
|
#mkdir ${DESTDIR}
|
||||||
|
|
||||||
CURRENT_DIR=$(pwd)
|
CURRENT_DIR=$(pwd)
|
||||||
WORKING_DIR=$(mktemp -d /tmp/install_deps_XXXXXX)
|
WORKING_DIR=$(mktemp -d /tmp/install_deps_XXXXXX)
|
||||||
|
Loading…
Reference in New Issue
Block a user