summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-13 21:53:03 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-20 14:08:08 -0500
commit85d2f27a0d730eeb2aade1a6e292b96d3cc8effd (patch)
treed049e01abc9829db9d2ecb9daca40cccf2db28ca /academic
parent06f9a9c223990236e9c637850371e0c1078451d7 (diff)
downloadslackbuilds-85d2f27a0d730eeb2aade1a6e292b96d3cc8effd.tar.gz
academic/calcoo: Updated copyright and other minor tweaks
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/calcoo/calcoo.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/academic/calcoo/calcoo.SlackBuild b/academic/calcoo/calcoo.SlackBuild
index 72e34a70f0..654c80ebb5 100644
--- a/academic/calcoo/calcoo.SlackBuild
+++ b/academic/calcoo/calcoo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for calcoo
-# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,12 +27,10 @@ VERSION=1.3.16
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -77,7 +75,10 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+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 \