summaryrefslogtreecommitdiff
path: root/multimedia/schroedinger/schroedinger.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-04-17 16:24:54 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:38:15 +0200
commit9aebd2773ede99bd5a37e6a782c7ceb2e5f19e84 (patch)
tree2f3abff96446b1bcbee84c494f65a05e4af7aeaf /multimedia/schroedinger/schroedinger.SlackBuild
parentd17ffcc46f44e85987a24152e6312cd99aec0163 (diff)
downloadslackbuilds-9aebd2773ede99bd5a37e6a782c7ceb2e5f19e84.tar.gz
multimedia/schroedinger: Build bump.
Added install-strip option to make. Removed man page handling code as there are no man pages.
Diffstat (limited to 'multimedia/schroedinger/schroedinger.SlackBuild')
-rw-r--r--multimedia/schroedinger/schroedinger.SlackBuild16
1 files changed, 2 insertions, 14 deletions
diff --git a/multimedia/schroedinger/schroedinger.SlackBuild b/multimedia/schroedinger/schroedinger.SlackBuild
index c05702c209..6b37346f6c 100644
--- a/multimedia/schroedinger/schroedinger.SlackBuild
+++ b/multimedia/schroedinger/schroedinger.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=schroedinger
VERSION=1.0.9
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -72,14 +72,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
@@ -89,11 +82,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
ln -s /usr/share/gtk-doc/html/schroedinger html
)
-( 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
-)
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc