summaryrefslogtreecommitdiff
path: root/system/pv/pv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pv/pv.SlackBuild')
-rw-r--r--system/pv/pv.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/pv/pv.SlackBuild b/system/pv/pv.SlackBuild
index 7c641c6f5c..d2c94749c2 100644
--- a/system/pv/pv.SlackBuild
+++ b/system/pv/pv.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pv
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.6.6}
BUILD=${BUILD:-1}
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,15 +42,15 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING INSTALL NEWS PACKAGE TODO VERSION"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT