aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-10-02 21:16:17 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-09 13:10:51 +0700
commit2dacd23e8b60d0b93c66f0a3dd3e80f2488bf560 (patch)
tree8c79c9667c72f7545ae4d69786611f4aef6aaeff /libraries
parent8d995f8f2bf1ee91063675140b31485fef6d3dc0 (diff)
libraries/libsearpc: Updated for version 3.2_latest.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libsearpc/libsearpc.SlackBuild11
-rw-r--r--libraries/libsearpc/libsearpc.info6
2 files changed, 10 insertions, 7 deletions
diff --git a/libraries/libsearpc/libsearpc.SlackBuild b/libraries/libsearpc/libsearpc.SlackBuild
index ed5a211233f3d..ef05eb936bf27 100644
--- a/libraries/libsearpc/libsearpc.SlackBuild
+++ b/libraries/libsearpc/libsearpc.SlackBuild
@@ -27,7 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libsearpc
-VERSION=${VERSION:-3.1.0}
+VERSION=${VERSION:-3.2_latest}
+SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,6 +82,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 {} \;
+export PYTHON=python3
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/libraries/libsearpc/libsearpc.info b/libraries/libsearpc/libsearpc.info
index 5b9d7b783c2f7..38b7511b62dd1 100644
--- a/libraries/libsearpc/libsearpc.info
+++ b/libraries/libsearpc/libsearpc.info
@@ -1,8 +1,8 @@
PRGNAM="libsearpc"
-VERSION="3.1.0"
+VERSION="3.2_latest"
HOMEPAGE="http://seafile.com/"
-DOWNLOAD="https://github.com/haiwen/libsearpc/archive/v3.1.0/libsearpc-3.1.0.tar.gz"
-MD5SUM="1d20e93e0fb39f98c907e633d9f1b11b"
+DOWNLOAD="https://github.com/haiwen/libsearpc/archive/v3.2-latest/libsearpc-3.2-latest.tar.gz"
+MD5SUM="f98dffa7705c4bf653585cf0444071b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""