aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-13 00:34:05 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:34:05 +0200
commita92fa1c481e770e01e370f9ff48139c462b7bc00 (patch)
treec5603033e06ec5927345eb7025d9e3eed7a27bd9
parentc403eaa775108f564736a517fa424ca3fb6ca004 (diff)
misc/bsdsfv: Updated for version 1.18
-rw-r--r--misc/bsdsfv/README3
-rw-r--r--misc/bsdsfv/bsdsfv-1.18-64bit.patch.gzbin0 -> 1001 bytes
-rw-r--r--misc/bsdsfv/bsdsfv-1.18-color.patch.gzbin0 -> 975 bytes
-rw-r--r--misc/bsdsfv/bsdsfv.SlackBuild19
-rw-r--r--misc/bsdsfv/bsdsfv.info6
5 files changed, 20 insertions, 8 deletions
diff --git a/misc/bsdsfv/README b/misc/bsdsfv/README
index af45afec7fae6..81d988f3f5039 100644
--- a/misc/bsdsfv/README
+++ b/misc/bsdsfv/README
@@ -4,3 +4,6 @@ bsdsfv is an fork of pdsfv (former Hoopy SFV)
You can use bsdsfv on your own computer as well as on your site.
It is known to be very flexible and can be used by other programs.
It is released under the terms of the BSD license.
+
+Added option COLOR=yes if you want color in output,
+it's very useful if you check big sfv files to find errors fast.
diff --git a/misc/bsdsfv/bsdsfv-1.18-64bit.patch.gz b/misc/bsdsfv/bsdsfv-1.18-64bit.patch.gz
new file mode 100644
index 0000000000000..4ef428f113875
--- /dev/null
+++ b/misc/bsdsfv/bsdsfv-1.18-64bit.patch.gz
Binary files differ
diff --git a/misc/bsdsfv/bsdsfv-1.18-color.patch.gz b/misc/bsdsfv/bsdsfv-1.18-color.patch.gz
new file mode 100644
index 0000000000000..ab174f777220e
--- /dev/null
+++ b/misc/bsdsfv/bsdsfv-1.18-color.patch.gz
Binary files differ
diff --git a/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild
index 5af7d49367163..dab49c6d1b6b6 100644
--- a/misc/bsdsfv/bsdsfv.SlackBuild
+++ b/misc/bsdsfv/bsdsfv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bsdsfv
#
-# Copyright 2007 Niklas "Nille" Åkerström
+# Copyright 2009 Niklas "Nille" Åkerström
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,11 +31,14 @@ CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+COLOR=${COLOR:-no}
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
rm -rf $PKG
@@ -48,6 +51,14 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
+#64bit patch borrowed from gentoo
+zcat $CWD/bsdsfv-1.18-64bit.patch.gz | patch -p1 --verbose --backup --suffix=.orig
+
+if [ $COLOR != no ]; then
+#colorpatch made with help of pj's old gentoo patch
+zcat $CWD/bsdsfv-1.18-color.patch.gz | patch -p1 --verbose --backup --suffix=.orig2
+fi
+
make CFLAGS="$SLKCFLAGS -Wall" || exit 1
make INSTALL_PREFIX=$PKG/usr install || exit 1
@@ -71,8 +82,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
-
-if [ "$1" = "--cleanup" ]; then
- rm -rf $PKG $TMP/$PRGNAM-$VERSION
- fi
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/bsdsfv/bsdsfv.info b/misc/bsdsfv/bsdsfv.info
index 2f4a4f79eeb97..4fa52aef0ce7c 100644
--- a/misc/bsdsfv/bsdsfv.info
+++ b/misc/bsdsfv/bsdsfv.info
@@ -3,6 +3,8 @@ VERSION="1.18"
HOMEPAGE="http://bsdsfv.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/bsdsfv/bsdsfv-1.18.tar.gz"
MD5SUM="381df19a827d5a20097ab95ea9e760fa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Niklas 'Nille' Åkerström"
-EMAIL="nille_kungen[AT]hotmail.com"
-APPROVED="rworkman"
+EMAIL="nille.kungen[AT]gmail.com"
+APPROVED="Erik Hanson"