Debian Codegraph @

contrib/void/build.sh

raw symbols SCIP
1 #!/bin/sh -e
2
3 echo
4 echo "*** Configuring Finit for Void Linux"
5
6 if [ ! -e configure ]; then
7 echo " The configure script is missing, maybe you're using a version from GIT?"
8 echo " Attempting to run the autogen.sh script, you will need these tools:"
9 echo " autoconf, automake, libtool, pkg-config ..."
10 echo
11 ./autogen.sh
12 fi
13
14 # The plugins are optional, but you may need D-Bus and X11 if you want
15 # to run X-Window, the other configure flags are however required.
16 PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig ./configure \
17 --prefix=/usr --exec-prefix= \
18 --sysconfdir=/etc --localstatedir=/var \
19 --enable-dbus-plugin --enable-x11-common-plugin \
20 --enable-alsa-utils-plugin --with-watchdog \
21 --with-keventd --with-sulogin
22
23 echo
24 echo "*** Building ..."
25 echo
26 make
27
28 if [ $? -ne 0 ]; then
29 echo
30 echo "*** The build failed for some reason"
31 echo
32 exit 1
33 fi
34
35 echo
36 echo "*** Done"
37 echo