aboutsummaryrefslogtreecommitdiff
path: root/libraries/libticalcs2
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 06:38:29 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 20:07:19 -0600
commit4d2c1b8470157bcdca26801c4e59ca455c41d6d8 (patch)
tree9c27caecb3c3e0e30fdc08d474ee4d9aa23a6e83 /libraries/libticalcs2
parentcd4dafccade61cbbb8bbc5da0815a45499300a34 (diff)
libraries/libticalcs2: Updated for version 1.1.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libticalcs2')
-rw-r--r--libraries/libticalcs2/libticalcs2.SlackBuild15
-rw-r--r--libraries/libticalcs2/libticalcs2.info6
2 files changed, 10 insertions, 11 deletions
diff --git a/libraries/libticalcs2/libticalcs2.SlackBuild b/libraries/libticalcs2/libticalcs2.SlackBuild
index de128d1a100f..37038853b78d 100644
--- a/libraries/libticalcs2/libticalcs2.SlackBuild
+++ b/libraries/libticalcs2/libticalcs2.SlackBuild
@@ -21,16 +21,14 @@
# that is unlikely, as I am rather tall.
PRGNAM=libticalcs2
-VERSION=1.1.7
+VERSION=${VERSION:-1.1.8}
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
@@ -54,7 +52,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -63,10 +61,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,7 +80,7 @@ make
DESTDIR=$PKG make install
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README docs \
+cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -exec rm {} \;
diff --git a/libraries/libticalcs2/libticalcs2.info b/libraries/libticalcs2/libticalcs2.info
index 6f314cece031..02f986f65ce3 100644
--- a/libraries/libticalcs2/libticalcs2.info
+++ b/libraries/libticalcs2/libticalcs2.info
@@ -1,8 +1,8 @@
PRGNAM="libticalcs2"
-VERSION="1.1.7"
+VERSION="1.1.8"
HOMEPAGE="http://lpg.ticalc.org/prj_tilp/"
-DOWNLOAD="http://downloads.sourceforge.net/tilp/libticalcs2-1.1.7.tar.bz2"
-MD5SUM="bb88a1200e3bce4e58718a0284933e97"
+DOWNLOAD="http://downloads.sourceforge.net/tilp/libticalcs2-1.1.8.tar.bz2"
+MD5SUM="693beeba4f84ad7320a0bc163fb187d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libticables2 libtifiles2"