From a92fa1c481e770e01e370f9ff48139c462b7bc00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Nille=20=C3=85kerstr=C3=B6m?= Date: Thu, 13 May 2010 00:34:05 +0200 Subject: misc/bsdsfv: Updated for version 1.18 --- misc/bsdsfv/README | 3 +++ misc/bsdsfv/bsdsfv-1.18-64bit.patch.gz | Bin 0 -> 1001 bytes misc/bsdsfv/bsdsfv-1.18-color.patch.gz | Bin 0 -> 975 bytes misc/bsdsfv/bsdsfv.SlackBuild | 19 +++++++++++++------ misc/bsdsfv/bsdsfv.info | 6 ++++-- 5 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 misc/bsdsfv/bsdsfv-1.18-64bit.patch.gz create mode 100644 misc/bsdsfv/bsdsfv-1.18-color.patch.gz diff --git a/misc/bsdsfv/README b/misc/bsdsfv/README index af45afec7f..81d988f3f5 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 0000000000..4ef428f113 Binary files /dev/null and b/misc/bsdsfv/bsdsfv-1.18-64bit.patch.gz 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 0000000000..ab174f7772 Binary files /dev/null and b/misc/bsdsfv/bsdsfv-1.18-color.patch.gz differ diff --git a/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild index 5af7d49367..dab49c6d1b 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 2f4a4f79ee..4fa52aef0c 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" -- cgit v1.2.3