diff options
author | Donald Cooley <chytraeu@sdf.org> | 2017-03-21 01:39:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-21 01:39:51 +0700 |
commit | 79e19e1c2db853974d78e3de7168782951c17412 (patch) | |
tree | 0c7dc7ce91c5cef2061a33e14cf1e7d2fdaf1035 /misc/dos2unix/dos2unix.SlackBuild | |
parent | b4d0cc2852cc88923081d73f4ee113802112a85c (diff) | |
download | slackbuilds-79e19e1c2db853974d78e3de7168782951c17412.tar.gz |
misc/dos2unix: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/dos2unix/dos2unix.SlackBuild')
-rw-r--r-- | misc/dos2unix/dos2unix.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/dos2unix/dos2unix.SlackBuild b/misc/dos2unix/dos2unix.SlackBuild index e92a8538eb..b979356063 100644 --- a/misc/dos2unix/dos2unix.SlackBuild +++ b/misc/dos2unix/dos2unix.SlackBuild @@ -1,5 +1,6 @@ #!/bin/sh # Slackware build script for dos2unix +# copyright 2017 Donald Cooley, South Haven, Indiana, USA # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org @@ -30,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 @@ -56,8 +57,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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" @@ -72,6 +73,7 @@ fi RPM_OPT_FLAGS="$SLKCFLAGS" \ make +make check make \ prefix=$PKG/usr \ docdir=$PKG/usr/doc/$PRGNAM-$VERSION \ |