aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGene Carlson <kvngncrlsn@gmail.com>2023-09-14 20:29:00 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-17 00:10:29 +0700
commit9d086d18ba343e0355b45280c4600e35e74bbf3a (patch)
tree641a0d2ca95c0a7c18919b53fe897a97d4c08a40
parent2807802a2067d3e33ee8c0f1ba44eb88a3f4de44 (diff)
misc/dos2unix: Updated for version 7.5.1; new maintainer.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/dos2unix/dos2unix.SlackBuild12
-rw-r--r--misc/dos2unix/dos2unix.info10
2 files changed, 9 insertions, 13 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
diff --git a/misc/dos2unix/dos2unix.info b/misc/dos2unix/dos2unix.info
index 4abb9a610296..31fce49b3c5f 100644
--- a/misc/dos2unix/dos2unix.info
+++ b/misc/dos2unix/dos2unix.info
@@ -1,10 +1,10 @@
PRGNAM="dos2unix"
-VERSION="7.4.3"
+VERSION="7.5.1"
HOMEPAGE="https://waterlan.home.xs4all.nl/dos2unix.html"
-DOWNLOAD="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.3.tar.gz"
-MD5SUM="ff949538cf3c82910d5f6f486c1981dd"
+DOWNLOAD="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.5.1.tar.gz"
+MD5SUM="8aef90aeae07b6ad9f8fc77e4eb12541"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Brandon Pribula"
-EMAIL="b.pribs11@gmail.com"
+MAINTAINER="K. Eugene Carlson"
+EMAIL="kvngncrlsn@gmail.com"