diff options
Diffstat (limited to 'misc/dos2unix/dos2unix.SlackBuild')
-rw-r--r-- | misc/dos2unix/dos2unix.SlackBuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/misc/dos2unix/dos2unix.SlackBuild b/misc/dos2unix/dos2unix.SlackBuild index 81dfacf15dff..07a19f05f5c6 100644 --- a/misc/dos2unix/dos2unix.SlackBuild +++ b/misc/dos2unix/dos2unix.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for dos2unix +# Copyright 2023 K. Eugene Carlson, Tsukuba, Japan + # Copyright 2022 Brandon Pribula, BC Canada # copyright 2017-2020 Donald Cooley, South Haven, IN, USA @@ -31,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dos2unix -VERSION=${VERSION:-7.4.3} +VERSION=${VERSION:-7.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,21 +75,18 @@ find -L . \ if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi RPM_OPT_FLAGS="$SLKCFLAGS" \ make make check +make strip make install \ prefix=/usr \ docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -98,9 +97,6 @@ make install \ mv $PKG/usr/share/man/* $PKG/usr/man rmdir $PKG/usr/share/man -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 -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |