aboutsummaryrefslogtreecommitdiff
path: root/development/latrace
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2010-05-13 00:24:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:24:54 +0200
commitd89b243f4d0e5dc205c6061e8f27567c403c75d1 (patch)
treeb9b54899cb69aa4f1d672eb3d28bda73c518da5d /development/latrace
parent86abfe99362dfecb5e1274ba5a4944f33468e223 (diff)
development/latrace: Updated for version 0.5.7
Diffstat (limited to 'development/latrace')
-rw-r--r--development/latrace/latrace.SlackBuild19
-rw-r--r--development/latrace/latrace.info14
-rw-r--r--development/latrace/slack-desc4
3 files changed, 23 insertions, 14 deletions
diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild
index 1c52643b64a3e..773658102958e 100644
--- a/development/latrace/latrace.SlackBuild
+++ b/development/latrace/latrace.SlackBuild
@@ -7,8 +7,10 @@
# Granted WTFPLv2, as published by Sam Hocevar dec'04.
# For details see http://sam.zoy.org/wtfpl/COPYING
+# Updated by Peter Wang <novalazy@gmail.com>
+
PRGNAM=latrace
-VERSION=${VERSION:-0.5.3}
+VERSION=${VERSION:-0.5.7}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -20,11 +22,14 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
-fi
+ LIBDIRSUFFIX="64"
+fi
set -e # Exit on most errors
@@ -45,10 +50,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install ROOTDIR=$PKG
@@ -58,7 +65,7 @@ make install ROOTDIR=$PKG
mv $PKG/etc/latrace.conf $PKG/etc/latrace.conf.new
find $PKG -type f | xargs file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man || exit 1
find . -type f -exec gzip -9 {} \;
@@ -66,7 +73,7 @@ find $PKG -type f | xargs file | grep -e "executable" -e "shared object" \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README TODO ChangeLog ReleaseNotes $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README TODO ChangeLog ReleaseNotes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -74,4 +81,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/latrace/latrace.info b/development/latrace/latrace.info
index 2ca0fea7f1fe5..5e02fd6fd4b65 100644
--- a/development/latrace/latrace.info
+++ b/development/latrace/latrace.info
@@ -1,8 +1,10 @@
PRGNAM="latrace"
-VERSION="0.5.3"
-HOMEPAGE="http://latrace.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/latrace/latrace-0.5.3.tar.bz2"
-MD5SUM="2ad3bbda765db233729f31c54697b439"
-MAINTAINER="Menno Duursma"
-EMAIL="druiloor@zonnet.nl"
+VERSION="0.5.7"
+HOMEPAGE="http://people.redhat.com/jolsa/latrace/"
+DOWNLOAD="http://people.redhat.com/jolsa/latrace/dl/latrace-0.5.7.tar.bz2"
+MD5SUM="aeb0fbe6e8265f492206f497cfde1e3c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Peter Wang"
+EMAIL="novalazy@gmail.com"
APPROVED="rworkman"
diff --git a/development/latrace/slack-desc b/development/latrace/slack-desc
index 09e7ce59e53fd..b199889303192 100644
--- a/development/latrace/slack-desc
+++ b/development/latrace/slack-desc
@@ -8,7 +8,8 @@
|-----handy-ruler------------------------------------------------------|
latrace: latrace (library call trace)
latrace:
-latrace: Trace library calls in a similar manner to (s)trace'n processes.
+latrace: latrace allows you to trace library calls and get their statistics
+latrace: in a manner similar to the strace utility (syscall tracing).
latrace:
latrace: latrace was written by Jiri Olsa
latrace:
@@ -16,4 +17,3 @@ latrace:
latrace:
latrace:
latrace:
-latrace: