aboutsummaryrefslogtreecommitdiff
path: root/academic/calcoo/calcoo.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-08-27 22:32:20 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-27 22:32:20 -0500
commit97d1ea4fc619a51a6dd5bd95c97d1e9253372244 (patch)
tree70dfa7c7b068a35253128a5a9883b1721f555e52 /academic/calcoo/calcoo.SlackBuild
parentc9c4417f6b384857b89da655df780921410a4b49 (diff)
academic/calcoo: Updated for version 1.3.18.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 654c80ebb5a10..e1bdc8cda5355 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