summaryrefslogtreecommitdiff
path: root/development/latrace/latrace.SlackBuild
diff options
context:
space:
mode:
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 f289ab231d..49ec7609e0 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