diff options
Diffstat (limited to 'libraries/liblightgrep/liblightgrep.SlackBuild')
-rw-r--r-- | libraries/liblightgrep/liblightgrep.SlackBuild | 12 |
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 {} \; |