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

@ -1,10 +1,10 @@
#!/bin/sh #!/bin/sh
# Slackware build script for pspp # Slackware build script for pspp
# Copyright 2014 Vitor Borrego, Corroios, Portugal # Copyright 2016 Vitor Borrego, Corroios, Portugal
# All rights reserved. # All rights reserved.
#
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met: # permitted provided that the following conditions are met:
# #
@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pspp PRGNAM=pspp
VERSION=${VERSION:-0.8.5} VERSION=${VERSION:-0.10.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -54,7 +54,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
LDFLAGS="-ltermcap" \ LIBS="-ltermcap -lgmp" \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -79,9 +79,11 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --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
make install DESTDIR=$PKG make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View file

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