mirror of
https://github.com/troglobit/finit.git
synced 2026-11-29 21:08:21 +00:00
Alpine Linux: Slight update + sync with Debian
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
2d9c147e0e
commit
3c1c5621a5
3 files changed
+29
-10
No files matched your search
+23
-2
@@ -1,7 +1,13 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
if [ ! -f configure -a -f autogen.sh ]; then
|
||||
echo "Building from GIT, creating configure script ..."
|
||||
echo
|
||||
echo "*** Configuring Finit for Alpine Linux"
|
||||
|
||||
if [ ! -e configure ]; then
|
||||
echo " The configure script is missing, maybe you're using a version from GIT?"
|
||||
echo " Attempting to run the autogen.sh script, you will need these tools:"
|
||||
echo " autoconf, automake, libtool, pkg-config ..."
|
||||
echo
|
||||
./autogen.sh
|
||||
fi
|
||||
|
||||
@@ -15,4 +21,19 @@ PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \
|
||||
--enable-inetd-discard-plugin --enable-inetd-time-plugin \
|
||||
--with-heading="Alpine Linux 3.6" --with-hostname=alpine
|
||||
|
||||
echo
|
||||
echo "*** Building ..."
|
||||
echo
|
||||
make
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo
|
||||
echo "*** The build failed for some reason"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "*** Done"
|
||||
echo
|
||||
|
||||
Reference in new issue
Block a user