summaryrefslogtreecommitdiff
path: root/network/leafnode/leafnode.SlackBuild
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.45@gmail.com>2010-05-11 22:25:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:25:31 +0200
commitf765e0fddea2b4b1b676a3a744c172764d5dabaf (patch)
tree0c81194b34deaf633937c9b3dcf2a87af87c0058 /network/leafnode/leafnode.SlackBuild
parentf39f6da971bbc4a2b8f5fadf198b6ad5973f924d (diff)
downloadslackbuilds-f765e0fddea2b4b1b676a3a744c172764d5dabaf.tar.gz
network/leafnode: Updated for version 2.0.0.alpha20081110a
Diffstat (limited to 'network/leafnode/leafnode.SlackBuild')
-rw-r--r--network/leafnode/leafnode.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/network/leafnode/leafnode.SlackBuild b/network/leafnode/leafnode.SlackBuild
index fab008351a..846ec1da72 100644
--- a/network/leafnode/leafnode.SlackBuild
+++ b/network/leafnode/leafnode.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware 12 build script for Leafnode 2
+# Slackware build script for Leafnode 2
# Copyright 2008-2009 Andrew Strong (http://www.andrews-corner.org)
# All rights reserved.
@@ -22,12 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Build script modified by the SlackBuilds.org project
-
PRGNAM=leafnode
-VERSION=2.0.0.alpha20070602a
+VERSION=2.0.0.alpha20081110a
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -39,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -64,7 +64,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc/leafnode \
--mandir=/usr/man \
--localstatedir=/var \
- --enable-runas-user=news
+ --enable-runas-user=news \
+ --enable-spooldir=/var/spool/news \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -94,3 +96,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+