summaryrefslogtreecommitdiff
path: root/academic/calcoo/calcoo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/calcoo/calcoo.SlackBuild')
-rw-r--r--academic/calcoo/calcoo.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/academic/calcoo/calcoo.SlackBuild b/academic/calcoo/calcoo.SlackBuild
index 654c80ebb5..e1bdc8cda5 100644
--- a/academic/calcoo/calcoo.SlackBuild
+++ b/academic/calcoo/calcoo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for calcoo
-# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2012 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=calcoo
-VERSION=1.3.16
+VERSION=${VERSION:-1.3.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,14 +74,14 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
+make LIBS+="-lm" # libm doesn't get linked otherwise
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild