summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Markus Reichelt <slackbuilds@mareichelt.de>2016-09-14 18:01:44 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-14 18:01:44 +0700
commit259125a4f7f7cffe301b0238c0c6bd0176bad2c8 (patch)
tree1e8e46d020aed605f204a99da8f39cdf57d228f3
parent4e6cd1808a0282f9e83d480272aad7acdb52b52f (diff)
downloadslackbuilds-259125a4f7f7cffe301b0238c0c6bd0176bad2c8.tar.gz
slackbuilds-259125a4f7f7cffe301b0238c0c6bd0176bad2c8.tar.xz
system/aespipe: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/aespipe/aespipe.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/system/aespipe/aespipe.SlackBuild b/system/aespipe/aespipe.SlackBuild
index f5a0c2bfc5..fcfa8c5f7a 100644
--- a/system/aespipe/aespipe.SlackBuild
+++ b/system/aespipe/aespipe.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for aespipe
-# Copyright (c) 2010-2015 Markus Reichelt, Stolberg (Rhld.), DE
+# Copyright (c) 2010-2016 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -27,14 +27,14 @@
PRGNAM=aespipe
VERSION=${VERSION:-2.4d}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVER="v${VERSION}"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +45,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=""
OPT="--enable-asm=x86 --enable-padlock --enable-intelaes"
elif [ "$ARCH" = "i686" ]; then
@@ -73,10 +73,10 @@ tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
set -e
@@ -99,7 +99,7 @@ make
make tests
make install
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;