From bbecbfe7ca5e9af42cf537bbad050afa4d52b688 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 16 Mar 2018 17:21:21 +0100 Subject: system/spkg: Updated for version 1.1. Signed-off-by: Matteo Bernardini --- system/spkg/slack-desc | 2 +- system/spkg/spkg.SlackBuild | 12 +++++++----- system/spkg/spkg.info | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'system/spkg') diff --git a/system/spkg/slack-desc b/system/spkg/slack-desc index 6074892498..1989cd549b 100644 --- a/system/spkg/slack-desc +++ b/system/spkg/slack-desc @@ -13,7 +13,7 @@ spkg: of Slackware's pkgtools. spkg: It's implemented in C (everything is libified) and optimized spkg: for speed. spkg: -spkg: homepage: https://spkg.megous.com +spkg: homepage: https://github.com/megous/spkg/ spkg: spkg: spkg: diff --git a/system/spkg/spkg.SlackBuild b/system/spkg/spkg.SlackBuild index 36395aa2aa..dc93135470 100644 --- a/system/spkg/spkg.SlackBuild +++ b/system/spkg/spkg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for spkg -# Copyright 2013 Matteo Bernardini , Pisa, Italy +# Copyright 2013-2018 Matteo Bernardini , Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spkg -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.1} 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,6 +69,8 @@ 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 {} \; +./autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/system/spkg/spkg.info b/system/spkg/spkg.info index b05e0bd70e..ff3b42c437 100644 --- a/system/spkg/spkg.info +++ b/system/spkg/spkg.info @@ -1,8 +1,8 @@ PRGNAM="spkg" -VERSION="1.0.1" -HOMEPAGE="https://spkg.megous.com" -DOWNLOAD="https://spkg.megous.com/dl/releases/spkg-1.0.1.tar.bz2" -MD5SUM="96f52157593a30dd3b059ba8d8590fad" +VERSION="1.1" +HOMEPAGE="https://github.com/megous/spkg/" +DOWNLOAD="https://github.com/megous/spkg/archive/1.1/spkg-1.1.tar.gz" +MD5SUM="39f2ca45ae9532ce7f23036c175fbd40" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3