forked from alnux/repo
22 lines
530 B
Text
22 lines
530 B
Text
|
export CFLAGS="-Wno-unused-command-line-argument $CFLAGS"
|
||
|
|
||
|
export PKG_CONFIG_PATH="$PWD/usr/lib/pkgconfig"
|
||
|
export CFLAGS="$CFLAGS -I$PWD/usr/include -L$PWD/usr/lib"
|
||
|
export CFLAGS="$CFLAGS -I$PWD/usr/include/libevdev-1.0"
|
||
|
export DESTDIR="$1"
|
||
|
|
||
|
meson \
|
||
|
--prefix=/usr \
|
||
|
--sysconfdir=/etc \
|
||
|
--mandir=/usr/share/man \
|
||
|
--libexecdir=/usr/lib \
|
||
|
-Ddefault_library=both \
|
||
|
-Ddebug-gui=false \
|
||
|
-Ddocumentation=false \
|
||
|
-Dtests=false \
|
||
|
-Dlibwacom=false \
|
||
|
. output
|
||
|
|
||
|
ninja -C output
|
||
|
ninja -C output install
|