23 lines
404 B
Bash
Executable File
23 lines
404 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Can't build with -pie.
|
|
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
|
|
|
|
sed -i "28s|.*|chmod u+s \"\${DESTDIR}\${bindir}/fusermount3\"|" \
|
|
util/install_helper.sh
|
|
|
|
export DESTDIR="$1"
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
-Dexamples=false \
|
|
-Dsbindir=bin \
|
|
-Dudevrulesdir=/usr/lib/udev \
|
|
-Duseroot=false \
|
|
. output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|
|
|
|
rm -rf "$1/etc/init.d"
|