aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/bsflite/bsflite.SlackBuild12
-rw-r--r--network/bsflite/bsflite.info2
-rw-r--r--network/bsflite/slack-desc2
3 files changed, 12 insertions, 4 deletions
diff --git a/network/bsflite/bsflite.SlackBuild b/network/bsflite/bsflite.SlackBuild
index bdb36ad5d4455..ee79889377f56 100644
--- a/network/bsflite/bsflite.SlackBuild
+++ b/network/bsflite/bsflite.SlackBuild
@@ -3,13 +3,12 @@
# Slackware build script for bsflite
# Written by Peter Drauden (pjdraud@ilstu.edu)
-set -e
-
PRGNAM=bsflite
VERSION=0.82
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -17,10 +16,17 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -46,4 +52,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}
diff --git a/network/bsflite/bsflite.info b/network/bsflite/bsflite.info
index 5a298c4828d10..12cc229891872 100644
--- a/network/bsflite/bsflite.info
+++ b/network/bsflite/bsflite.info
@@ -2,7 +2,9 @@ PRGNAM="bsflite"
VERSION="0.82"
HOMEPAGE="http://bsflite.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/bsflite/bsflite-0.82.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="f04364100bd46ab8748cfd77229fd2d0"
+MD5SUM_x86_64=""
MAINTAINER="Peter Drauden"
EMAIL="pjdraud@ilstu.edu"
APPROVED="rworkman"
diff --git a/network/bsflite/slack-desc b/network/bsflite/slack-desc
index 10394c203735b..2817f9cd1a579 100644
--- a/network/bsflite/slack-desc
+++ b/network/bsflite/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-bsflite: bsflite (0.82)
+bsflite: bsflite (minimalist client for AOL's Instant Messenger(TM) service)
bsflite:
bsflite: BSFlite is a rather small and minimalist client for AOL's Instant
bsflite: Messenger(TM) service. Instead of having a full screen console