diff options
-rw-r--r-- | libraries/libsearpc/libsearpc.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/libsearpc/libsearpc.info | 6 |
2 files changed, 10 insertions, 7 deletions
diff --git a/libraries/libsearpc/libsearpc.SlackBuild b/libraries/libsearpc/libsearpc.SlackBuild index ed5a211233..ef05eb936b 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 5b9d7b783c..38b7511b62 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="" |