summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-rw-r--r--academic/calc/calc.SlackBuild42
-rw-r--r--academic/calc/calc.info8
-rw-r--r--academic/calc/slack-desc14
3 files changed, 38 insertions, 26 deletions
diff --git a/academic/calc/calc.SlackBuild b/academic/calc/calc.SlackBuild
index 9abf330b54..20ce02932e 100644
--- a/academic/calc/calc.SlackBuild
+++ b/academic/calc/calc.SlackBuild
@@ -1,21 +1,35 @@
#!/bin/sh
-
# Slackware build script for calc
-# Written by Grigorios Bouzakis (grbzks@gmail.com)
+# Copyright 2008-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# All rights reserved.
+#
+# Permission to use, copy, modify, and distribute this software for any purpose
+# with or without fee is hereby granted, provided that the above copyright
+# notice and this permission notice appear in all copies.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY
+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=calc
-VERSION=${VERSION:-2.12.4.0}
+VERSION=${VERSION:-2.12.4.3}
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
@@ -39,6 +53,8 @@ else
LIBDIRSUFFIX=""
fi
+DOCS="BUGS CHANGES COPYING COPYING-LGPL HOWTO.INSTALL LIBRARY README"
+
set -e
rm -rf $PKG
@@ -67,21 +83,17 @@ make install \
MANDIR=/usr/man/man1 \
T=$PKG
+# We like root to have write permissions on our files, kthxbye
+find $PKG/usr -type f -exec chmod u+w {} \;
+
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 || 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
-)
-
-# We like root to have write permissions on our files, kthxbye
-find $PKG/usr/ -type f -exec chmod u+w {} \;
+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 \
- BUGS CHANGES COPYING COPYING-LGPL HOWTO.INSTALL LIBRARY README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/academic/calc/calc.info b/academic/calc/calc.info
index 28bcdb2aaf..838284e1a3 100644
--- a/academic/calc/calc.info
+++ b/academic/calc/calc.info
@@ -1,10 +1,10 @@
PRGNAM="calc"
-VERSION="2.12.4.0"
+VERSION="2.12.4.3"
HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/"
-DOWNLOAD="http://downloads.sourceforge.net/calc/calc-2.12.4.0.tar.bz2"
-MD5SUM="2ef56695837c6e501ca80b64e0be0db6"
+DOWNLOAD="http://downloads.sourceforge.net/calc/calc-2.12.4.3.tar.bz2"
+MD5SUM="d95dccde71cc8d920af0f8375e85e9c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Grigorios Bouzakis"
-EMAIL="grbzks@gmail.com"
+EMAIL="grbzks@xsmail.com"
APPROVED="rworkman"
diff --git a/academic/calc/slack-desc b/academic/calc/slack-desc
index 63fb829585..f23ca27b2a 100644
--- a/academic/calc/slack-desc
+++ b/academic/calc/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler---------------------------------------------------------|
calc: calc (C-style arbitrary precision calculator)
-calc:
+calc:
calc: Calc is arbitrary precision C-like arithmetic system that is a
calc: calculator, an algorithm prototyper, and mathematical research tool.
calc: Calc comes with a rich set of builtin mathematical and programmatic
-calc: functions
-calc:
+calc: functions.
+calc:
calc: Homepage: http://www.isthe.com/chongo/tech/comp/calc/
-calc:
-calc:
-calc:
+calc:
+calc:
+calc: