aboutsummaryrefslogtreecommitdiff
path: root/libraries/liblightgrep
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
parent3fb046e799e020ea4a785fab2f5d9d2f40cb68f5 (diff)
libraries/liblightgrep: Update DOWNLOAD, i486->i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/liblightgrep')
-rw-r--r--libraries/liblightgrep/liblightgrep.SlackBuild12
-rw-r--r--libraries/liblightgrep/liblightgrep.info2
2 files changed, 7 insertions, 7 deletions
diff --git a/libraries/liblightgrep/liblightgrep.SlackBuild b/libraries/liblightgrep/liblightgrep.SlackBuild
index cf4ea2b2821e9..e87cdc81fa053 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 {} \;
diff --git a/libraries/liblightgrep/liblightgrep.info b/libraries/liblightgrep/liblightgrep.info
index b50470d68b355..4585f0b27b8a0 100644
--- a/libraries/liblightgrep/liblightgrep.info
+++ b/libraries/liblightgrep/liblightgrep.info
@@ -1,7 +1,7 @@
PRGNAM="liblightgrep"
VERSION="1.4"
HOMEPAGE="https://github.com/LightboxTech/liblightgrep"
-DOWNLOAD="http://www.linuxleo.com/sources/liblightgrep-1.4.tar.gz"
+DOWNLOAD="https://github.com/LightboxTech/liblightgrep/archive/v1.4/liblightgrep-1.4.tar.gz"
MD5SUM="5b12d04d5a1c5a42135a787f1c0d8232"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""