diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2013-01-06 21:58:51 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-01-09 18:52:24 -0500 |
commit | 99ff38e7891b891f2a36cd911ad47482c29fee4d (patch) | |
tree | 59a2ecffc6e4b603ef41edacfb82d699319b98e2 /system/smem | |
parent | 4123754fa99da9ffe2ecdbf188ec8013429f9c74 (diff) |
system/smem: Updated for version 1.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/smem')
-rw-r--r-- | system/smem/README | 4 | ||||
-rw-r--r-- | system/smem/slack-desc | 14 | ||||
-rw-r--r-- | system/smem/smem.SlackBuild | 36 | ||||
-rw-r--r-- | system/smem/smem.info | 10 |
4 files changed, 44 insertions, 20 deletions
diff --git a/system/smem/README b/system/smem/README index 0fbcf4669058..5058db778fae 100644 --- a/system/smem/README +++ b/system/smem/README @@ -1,7 +1,5 @@ -smem memory reporting tool - smem is a tool that can give numerous reports on memory usage on Linux -systems. Unlike existing tools, smem can report proportional set size +systems. Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system. diff --git a/system/smem/slack-desc b/system/smem/slack-desc index b8e7c82cc138..db87b37163bc 100644 --- a/system/smem/slack-desc +++ b/system/smem/slack-desc @@ -1,11 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + |-----handy-ruler------------------------------------------------------| -smem: smem memory reporting tool +smem: smem (memory reporting tool) smem: smem: smem is a tool that can give numerous reports on memory usage on -smem: Linux systems. Unlike existing tools, smem can report proportional +smem: Linux systems. Unlike existing tools, smem can report proportional smem: set size (PSS), which is a more meaningful representation of the smem: amount of memory used by libraries and applications in a virtual smem: memory system. smem: -smem: http://www.selenic.com/smem/ +smem: Homepage: http://www.selenic.com/smem/ +smem: smem: diff --git a/system/smem/smem.SlackBuild b/system/smem/smem.SlackBuild index f3a698fa5058..b94e9c20ca8e 100644 --- a/system/smem/smem.SlackBuild +++ b/system/smem/smem.SlackBuild @@ -2,12 +2,29 @@ # Slackware build script for smem -# Written by Dušan Stefanović <stefanovic.dusan@gmail.com> - -# Modified by SlackBuilds.org +# Copyright 2009 Dušan Stefanović <stefanovic.dusan@gmail.com> +# Copyright 2013 Audrius Kažukauskas <audrius@neutrino.lt> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=smem -VERSION=${VERSION:-0.1} +VERSION=${VERSION:-1.2} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,7 +34,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -32,12 +49,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir -p $PKG/usr/bin -install -m 755 smem $PKG/usr/bin +install -m 0755 -D smem $PKG/usr/bin/smem + +install -m 0644 -D smem.8 $PKG/usr/man/man8/smem.8 +gzip -9 $PKG/usr/man/man8/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp capture $PKG/usr/doc/$PRGNAM-$VERSION/ -chmod 744 $PKG/usr/doc/$PRGNAM-$VERSION/capture +cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/smem/smem.info b/system/smem/smem.info index 525fd40637d1..c55bdf85b7b9 100644 --- a/system/smem/smem.info +++ b/system/smem/smem.info @@ -1,10 +1,10 @@ PRGNAM="smem" -VERSION="0.1" +VERSION="1.2" HOMEPAGE="http://www.selenic.com/smem/" -DOWNLOAD="http://www.selenic.com/smem/download/smem-0.1.tar.gz" -MD5SUM="2d2a64fcf00e353efa3751c826f801ee" +DOWNLOAD="http://www.selenic.com/smem/download/smem-1.2.tar.gz" +MD5SUM="b8975840a08172ba8a1abbe7cb202dfe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dušan Stefanović" -EMAIL="stefanovic.dusan@gmail.com" +MAINTAINER="Audrius Kažukauskas" +EMAIL="audrius@neutrino.lt" |