2019-06-28 01:07:46 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-07-08 07:26:10 -06:00
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
|
|
|
|
|
|
|
(
|
|
|
|
cd mtdev
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-shared \
|
|
|
|
--disable-gcov
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$OLDPWD" install
|
|
|
|
)
|
|
|
|
|
|
|
|
export PKG_CONFIG_PATH="$PWD/usr/lib/pkgconfig"
|
|
|
|
export CFLAGS="$CFLAGS -I$PWD/usr/include -L$PWD/usr/lib"
|
2019-10-07 15:07:48 -06:00
|
|
|
export DESTDIR="$1"
|
|
|
|
|
2019-06-28 01:07:46 -06:00
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
2020-05-08 02:41:50 -06:00
|
|
|
--libexecdir=/usr/lib \
|
2019-06-28 01:07:46 -06:00
|
|
|
-Ddebug-gui=false \
|
|
|
|
-Ddocumentation=false \
|
|
|
|
-Dtests=false \
|
|
|
|
-Dlibwacom=false \
|
|
|
|
. output
|
|
|
|
|
|
|
|
ninja -C output
|
2019-10-07 15:07:48 -06:00
|
|
|
ninja -C output install
|