summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-03-16 17:21:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:56 +0700
commitbbecbfe7ca5e9af42cf537bbad050afa4d52b688 (patch)
tree5d8c45d7d911b24b7d4c2de021d0c5e6566997f1 /system
parentd8898491afdc6b34e1fb41c70f38f9d36cb18803 (diff)
downloadslackbuilds-bbecbfe7ca5e9af42cf537bbad050afa4d52b688.tar.gz
system/spkg: Updated for version 1.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/spkg/slack-desc2
-rw-r--r--system/spkg/spkg.SlackBuild12
-rw-r--r--system/spkg/spkg.info8
3 files changed, 12 insertions, 10 deletions
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 <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, 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=""