aboutsummaryrefslogtreecommitdiff
path: root/python/ps_mem
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-07-23 15:24:08 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-07-23 15:24:08 +0100
commit990190c38eae7e6ea446e7c90c470f05ecdd95c9 (patch)
tree64340eeb1c6f16bd32a775a2be47f8f31db29c08 /python/ps_mem
parentfabb1c1ffbe1ec2286d8803633d9261669f72e5c (diff)
python/ps_mem: Updated for version 3.9.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/ps_mem')
-rw-r--r--python/ps_mem/ps_mem.SlackBuild19
-rw-r--r--python/ps_mem/ps_mem.info6
2 files changed, 14 insertions, 11 deletions
diff --git a/python/ps_mem/ps_mem.SlackBuild b/python/ps_mem/ps_mem.SlackBuild
index 5dd178d02952..bc450d983dfc 100644
--- a/python/ps_mem/ps_mem.SlackBuild
+++ b/python/ps_mem/ps_mem.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ps_mem.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ps_mem
-VERSION=${VERSION:-3.6}
+VERSION=${VERSION:-3.9}
BUILD=${BUILD:-1}
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
@@ -40,8 +40,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"
@@ -54,13 +54,16 @@ else
LIBDIRSUFFIX=""
fi
+SRCVER=${SRCVER:-f0891def54f1edb78a70006603d2b025236b830f}
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,13 +78,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man1
-cp -a ps_mem.1 $PKG/usr/man/man1/
+cp ps_mem.1 $PKG/usr/man/man1/
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/ps_mem/ps_mem.info b/python/ps_mem/ps_mem.info
index 0997a208f4f7..cf95419ce685 100644
--- a/python/ps_mem/ps_mem.info
+++ b/python/ps_mem/ps_mem.info
@@ -1,8 +1,8 @@
PRGNAM="ps_mem"
-VERSION="3.6"
+VERSION="3.9"
HOMEPAGE="https://github.com/pixelb/ps_mem/"
-DOWNLOAD="https://github.com/pixelb/ps_mem/archive/v3.6.tar.gz"
-MD5SUM="d178522f404dd7db8de598d75600c0e0"
+DOWNLOAD="https://github.com/pixelb/ps_mem/archive/f0891def54f1edb78a70006603d2b025236b830f.tar.gz"
+MD5SUM="f863a9796d13e2a50c827e3aa11423dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""