diff options
Diffstat (limited to 'misc/dos2unix/dos2unix.SlackBuild')
-rw-r--r-- | misc/dos2unix/dos2unix.SlackBuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/misc/dos2unix/dos2unix.SlackBuild b/misc/dos2unix/dos2unix.SlackBuild index 35095126ea0a..676270c6679b 100644 --- a/misc/dos2unix/dos2unix.SlackBuild +++ b/misc/dos2unix/dos2unix.SlackBuild @@ -1,5 +1,9 @@ #!/bin/bash + # Slackware build script for dos2unix + +# Copyright 2022 Brandon Pribula, BC Canada + # copyright 2017-2020 Donald Cooley, South Haven, IN, USA # Ryan P.C. McQuen | Everett, WA @@ -27,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dos2unix -VERSION=${VERSION:-7.4.1} +VERSION=${VERSION:-7.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,13 +86,13 @@ else fi RPM_OPT_FLAGS="$SLKCFLAGS" \ - make +make make check -make \ - prefix=$PKG/usr \ - docdir=$PKG/usr/doc/$PRGNAM-$VERSION \ - mandir=$PKG/usr/man \ - install +make install \ + prefix=/usr \ + docdir=/usr/doc/$PRGNAM-$VERSION \ + mandir=/usr/man \ + DESTDIR=$PKG # Put _all_ man pages under usr/man mv $PKG/usr/share/man/* $PKG/usr/man @@ -100,8 +104,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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 -cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL.txt mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |