summaryrefslogtreecommitdiff
path: root/development/cppunit/cppunit.SlackBuild
diff options
context:
space:
mode:
authorLuís Henrique <lmello.009@gmail.com>2010-06-28 12:10:30 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-06-28 12:10:30 -0400
commit39ea1b948f39f13268e52901395e4c05a27e41b1 (patch)
tree9590e4e388e1c9cb4c32814e03a1a59915664c1b /development/cppunit/cppunit.SlackBuild
parent4aba23c0edbd99853e616782f67ccddd17f7e02e (diff)
downloadslackbuilds-39ea1b948f39f13268e52901395e4c05a27e41b1.tar.gz
development/cppunit: Cleaned up build.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/cppunit/cppunit.SlackBuild')
-rw-r--r--development/cppunit/cppunit.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/development/cppunit/cppunit.SlackBuild b/development/cppunit/cppunit.SlackBuild
index 4210832564..523a97cd76 100644
--- a/development/cppunit/cppunit.SlackBuild
+++ b/development/cppunit/cppunit.SlackBuild
@@ -2,11 +2,11 @@
# Slackware build script for cppunit
-# Written by Luís Henrique <lmello.009@gmail.com>
+# Written by Luis Henrique <lmello.009@gmail.com>
PRGNAM=cppunit
VERSION=${VERSION:-1.12.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -73,11 +73,8 @@ make install DESTDIR=$PKG
find $PKG | 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
- 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 {} \;
+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 \