academic/pspp: Updated for version 0.10.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vitor Borrego 2016-08-28 18:30:33 +07:00 committed by Willy Sudiarto Raharjo
parent 8bcfcb0c5c
commit 736e829109
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 17 additions and 15 deletions

View file

@ -2,9 +2,9 @@
# Slackware build script for pspp
# Copyright 2014 Vitor Borrego, Corroios, Portugal
# Copyright 2016 Vitor Borrego, Corroios, Portugal
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pspp
VERSION=${VERSION:-0.8.5}
VERSION=${VERSION:-0.10.2}
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 +40,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"
@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
LDFLAGS="-ltermcap" \
LIBS="-ltermcap -lgmp" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -79,7 +79,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
--disable-static \
--build=$ARCH-slackware-linux \
gl_cv_header_wchar_h_correct_inline=yes
make
make install DESTDIR=$PKG

View file

@ -1,10 +1,10 @@
PRGNAM="pspp"
VERSION="0.8.5"
VERSION="0.10.2"
HOMEPAGE="http://www.gnu.org/software/pspp/"
DOWNLOAD="http://ftp.gnu.org/gnu/pspp/pspp-0.8.5.tar.gz"
MD5SUM="7600234a8a968c513a2e5c5dbecfc392"
DOWNLOAD="http://ftp.gnu.org/gnu/pspp/pspp-0.10.2.tar.gz"
MD5SUM="9c5a3295d59b07a9a4462148371723ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtksourceview"
REQUIRES="gtksourceview3"
MAINTAINER="Vitor Borrego"
EMAIL="vitor@bitarus.allowed.org"