aboutsummaryrefslogtreecommitdiff
path: root/network/znc/znc.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2010-03-21 14:20:16 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 14:19:23 +0200
commit67df1ff63664c4250e7cad51ed658e70c4a21e83 (patch)
tree6211dff2db3fede3624a008835b08a356d89c6f3 /network/znc/znc.SlackBuild
parent92231b776587abdd6d4ac52464e7e692d0f82599 (diff)
network/znc: Misc buildscript fixes.
Diffstat (limited to 'network/znc/znc.SlackBuild')
-rw-r--r--network/znc/znc.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild
index 3b5388be8f224..8b92e73a6474e 100644
--- a/network/znc/znc.SlackBuild
+++ b/network/znc/znc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
# Slackware build script for ZNC
@@ -59,6 +59,8 @@ if ! grep -q "^$ZNC_USER:" /etc/passwd; then
exit 1
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -90,6 +92,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -131,4 +134,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}