academic/klavaro: Updated for version 3.03.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2019-11-16 20:27:48 +07:00 committed by Willy Sudiarto Raharjo
parent 8a78584c77
commit 3e52dbe1ea
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 15 additions and 11 deletions

View file

@ -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

View file

@ -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"