23 lines
391 B
Bash
Executable File
23 lines
391 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export DESTDIR="$1"
|
|
|
|
pkg-config --exists libudev || {
|
|
printf 'udev (or libudev-zero) is required\n'
|
|
exit 1
|
|
}
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--libexecdir=/usr/lib \
|
|
-Ddebug-gui=false \
|
|
-Ddocumentation=false \
|
|
-Dtests=false \
|
|
-Dlibwacom=false \
|
|
. output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|