--- wget.SlackBuild 2006-04-03 20:45:56.000000000 -0400 +++ wget.SlackBuild.s390x 2007-01-26 14:17:16.000000000 -0500 @@ -12,8 +12,8 @@ if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mcpu=i686" elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2 -march=i486 -mcpu=i686" +elif [ "$ARCH" = "s390x" ]; then SLKCFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" @@ -35,6 +35,7 @@ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) +chown -R root:bin $PKG/usr/bin gzip -9 $PKG/usr/info/* $PKG/usr/man/man?/* mkdir -p $PKG/usr/doc/wget-$VERSION cp -a \