summaryrefslogtreecommitdiff
path: root/misc/rlwrap/rlwrap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rlwrap/rlwrap.SlackBuild')
-rw-r--r--misc/rlwrap/rlwrap.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild
index 170c08b8b8..810dcbf916 100644
--- a/misc/rlwrap/rlwrap.SlackBuild
+++ b/misc/rlwrap/rlwrap.SlackBuild
@@ -1,12 +1,14 @@
#!/bin/sh
# Slackware build script for rlwrap
+
# Written by slakmagik <slakmagik@gmail.com>
+# Updated 2017 by Andrew Clemons, Wellington New Zealand
# Released under the WTFPL
PRGNAM=rlwrap
-VERSION=${VERSION:-0.37}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.42}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +53,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 {} \;
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -64,7 +68,9 @@ make DESTDIR=$PKG install-strip
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [ABCINPRT]* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PLEA README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install