diff options
-rw-r--r-- | libraries/liblightgrep/liblightgrep.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/liblightgrep/liblightgrep.info | 2 |
2 files changed, 7 insertions, 7 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 {} \; diff --git a/libraries/liblightgrep/liblightgrep.info b/libraries/liblightgrep/liblightgrep.info index b50470d68b..4585f0b27b 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="" |