summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2019-11-16 20:27:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-16 20:27:48 +0700
commit3e52dbe1eac6f8ddace5dfa5513a69531067412e (patch)
treea9ee2353885c8ebcea289ed78601691223ba379c
parent8a78584c777f6cedf4f11ac3be13035f5d765329 (diff)
downloadslackbuilds-3e52dbe1eac6f8ddace5dfa5513a69531067412e.tar.gz
academic/klavaro: Updated for version 3.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/klavaro/klavaro.SlackBuild14
-rw-r--r--academic/klavaro/klavaro.info12
2 files changed, 15 insertions, 11 deletions
diff --git a/academic/klavaro/klavaro.SlackBuild b/academic/klavaro/klavaro.SlackBuild
index e5b970b788..2ad1b51b30 100644
--- a/academic/klavaro/klavaro.SlackBuild
+++ b/academic/klavaro/klavaro.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for Klavaro
-# Copyright 2015 Thibaut Notteboom
+# Copyright 2015 Thibaut Notteboom
+# Copyright 2019 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=klavaro
-VERSION=${VERSION:-3.01}
+VERSION=${VERSION:-3.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,6 +82,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+#rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
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
diff --git a/academic/klavaro/klavaro.info b/academic/klavaro/klavaro.info
index 2804b8c9c2..a7b7be9946 100644
--- a/academic/klavaro/klavaro.info
+++ b/academic/klavaro/klavaro.info
@@ -1,10 +1,10 @@
PRGNAM="klavaro"
-VERSION="3.01"
-HOMEPAGE="http://klavaro.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/klavaro/klavaro-3.01.tar.bz2"
-MD5SUM="53e2824ccc89f70dd7dca4d52ccf9c0e"
+VERSION="3.03"
+HOMEPAGE="https://klavaro.sourceforge.io/"
+DOWNLOAD="https://downloads.sourceforge.net/project/klavaro/klavaro-3.03.tar.bz2"
+MD5SUM="0299f185ed8f9aac3441685fbf7177dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Thibaut Notteboom"
-EMAIL="thibaut.notteboom@gmail.com"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"