summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-09 04:46:15 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:52 +0700
commitb98bfa48661226b6f2770258bcc0917e88e5dc0c (patch)
tree5475c77c53e6c918ee5665d32db886b7eb7e10c6 /network
parent57ced6820ed246d3ba2602099d0c9fb5dfed8077 (diff)
downloadslackbuilds-b98bfa48661226b6f2770258bcc0917e88e5dc0c.tar.gz
network/wput: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network')
-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"