summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/wput/wput.SlackBuild19
-rw-r--r--network/wput/wput.info4
2 files changed, 13 insertions, 10 deletions
diff --git a/network/wput/wput.SlackBuild b/network/wput/wput.SlackBuild
index 9dd371bd2d..b556f393f4 100644
--- a/network/wput/wput.SlackBuild
+++ b/network/wput/wput.SlackBuild
@@ -24,6 +24,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20170309 bkw:
+# - take over maintenance
+# - i486 => i586
+# - minor tweaks
+
PRGNAM=wput
VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
@@ -31,7 +36,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
@@ -42,8 +47,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
@@ -59,7 +64,7 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/{bin,man/man1} $OUTPUT
+mkdir -p $TMP $OUTPUT $PKG/usr/bin $PKG/usr/man/man1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
@@ -86,12 +91,10 @@ sed -i 's/^datadir *= $(prefix)\/share/datadir = $(prefix)/' Makefile
make
make install
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+strip $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS COPYING ChangeLog INSTALL TODO doc/{USAGE.*,passwordfile,wputrc} \
+cp -a ABOUT-NLS C* TODO doc/USAGE.* doc/passwordfile doc/wputrc \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/wput/wput.info b/network/wput/wput.info
index 35fc0e8342..e79af0cb96 100644
--- a/network/wput/wput.info
+++ b/network/wput/wput.info
@@ -6,5 +6,5 @@ MD5SUM="92b41efed4db8eb4f3443c23bf7ceecf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ryan P.C. McQuen"
-EMAIL="ryanpcmcquen@member.fsf.org"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"