summaryrefslogtreecommitdiff
path: root/libraries/liblightgrep/liblightgrep.SlackBuild
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundy [AT] linuxleo.com>2016-08-26 00:24:17 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commit6b8ab139a85320fd079380dde6d65d7cfcc53b90 (patch)
tree7978010453b6a6be165a11bbcabb2718d82d940b /libraries/liblightgrep/liblightgrep.SlackBuild
parent3fb046e799e020ea4a785fab2f5d9d2f40cb68f5 (diff)
downloadslackbuilds-6b8ab139a85320fd079380dde6d65d7cfcc53b90.tar.gz
libraries/liblightgrep: Update DOWNLOAD, i486->i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/liblightgrep/liblightgrep.SlackBuild')
-rw-r--r--libraries/liblightgrep/liblightgrep.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/liblightgrep/liblightgrep.SlackBuild b/libraries/liblightgrep/liblightgrep.SlackBuild
index cf4ea2b282..e87cdc81fa 100644
--- a/libraries/liblightgrep/liblightgrep.SlackBuild
+++ b/libraries/liblightgrep/liblightgrep.SlackBuild
@@ -1,8 +1,8 @@
-#/bin/sh
+#!/bin/sh
# Slackware build script for liblightgrep
-# Copyright 2012-2014 Barry J. Grundy <bgrundy(at)linuxleo.com>
+# Copyright 2012-2016 Barry J. Grundy <bgrundy(at)linuxleo.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,7 +31,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -92,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar BUILD.md COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar BUILD.md COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;