aboutsummaryrefslogtreecommitdiff
path: root/development/latrace/latrace.SlackBuild
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2011-12-12 12:52:38 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-18 00:07:46 -0200
commitd1b64bb033302cc5adb1075071eac705d7bc3064 (patch)
treed47af252a9dea32f6861e0bda3e87647d2705879 /development/latrace/latrace.SlackBuild
parent05fbc896bf2f78689d7593cd50acd194d7777532 (diff)
development/latrace: Updated for version 0.5.11.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/latrace/latrace.SlackBuild')
-rw-r--r--development/latrace/latrace.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild
index f289ab231d4e9..49ec7609e0e7a 100644
--- a/development/latrace/latrace.SlackBuild
+++ b/development/latrace/latrace.SlackBuild
@@ -10,7 +10,7 @@
# Updated by Peter Wang <novalazy@gmail.com>
PRGNAM=latrace
-VERSION=${VERSION:-0.5.9}
+VERSION=${VERSION:-0.5.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,17 +72,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install ROOTDIR=$PKG
-# Let's not clobber the main config file, but the ones in /etc/latrace.d/
-# should be okay to clobber, we *think* :)
-mv $PKG/etc/latrace.conf $PKG/etc/latrace.conf.new
+# Let's not clobber the main config file, but the headers in
+# /etc/latrace.d/headers should be okay to clobber.
+mv $PKG/etc/latrace.d/latrace.conf $PKG/etc/latrace.d/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 || true
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README TODO ChangeLog ReleaseNotes $PKG/usr/doc/$PRGNAM-$VERSION