wok-next rev 21689

updated glusterfs (3.12.5 -> 7.6)
author Hans-G?nter Theisgen
date Mon Jun 29 17:33:02 2020 +0100 (2020-06-29)
parents 375bb1aabefe
children ae2e03ed6aa3
files glusterfs/receipt
line diff
     1.1 --- a/glusterfs/receipt	Mon Jun 29 17:17:08 2020 +0100
     1.2 +++ b/glusterfs/receipt	Mon Jun 29 17:33:02 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="glusterfs"
     1.7 -VERSION="3.12.5"
     1.8 +VERSION="7.6"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Distributed file system"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,19 +9,23 @@
    1.13  WEB_SITE="https://www.gluster.org/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="https://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL"
    1.17 +WGET_URL="https://download.gluster.org/pub/gluster/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="flex python-dev readline-dev mpc-library elfutils openssl-dev \
    1.20 -acl-dev sqlite3-dev liburcu-dev libxml2-dev rpcsvc-proto libtirpc-dev"
    1.21 +BUILD_DEPENDS="acl-dev curl-dev elfutils flex libaio-dev libtirpc-dev liburcu-dev
    1.22 +	libxml2-dev mpc-library openssl-dev python-dev readline-dev rpcsvc-proto 
    1.23 +	sqlite3-dev"
    1.24  SPLIT="$PACKAGE-dev"
    1.25  
    1.26 -compile_rules() {
    1.27 -	sed -i "/^cat/,/^EOM/d;s/exit/echo '$HOST_SYSTEM'\n&/" config.sub
    1.28 +compile_rules()
    1.29 +{
    1.30 +	sed -i "/^cat/,/^EOM/d;s/exit/echo '$HOST_SYSTEM'\n&/" \
    1.31 +		config.sub
    1.32 +
    1.33  	export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/"
    1.34  	export LDFLAGS="$LDFLAGS -ltirpc"
    1.35  
    1.36 -	./configure \
    1.37 -		--libexecdir=/usr/share \
    1.38 +	./configure			\
    1.39 +		--libexecdir=/usr/share	\
    1.40  		$CONFIGURE_ARGS &&
    1.41  	sed -i 's| -lfl | |' $src/libglusterfs/src/Makefile &&
    1.42  	fix libtool &&
    1.43 @@ -31,16 +35,17 @@
    1.44  	fix symlinks
    1.45  }
    1.46  
    1.47 -genpkg_rules() {
    1.48 +genpkg_rules()
    1.49 +{
    1.50  	case $PACKAGE in
    1.51  		glusterfs)
    1.52  			copy @std
    1.53 -			DEPENDS="acl libsqlite3 libtirpc liburcu libxml2 openssl python \
    1.54 -			readline zlib"
    1.55 +			DEPENDS="acl libaio libcurl libsqlite3 libtirpc liburcu libxml2 
    1.56 +				openssl python readline zlib"
    1.57  			;;
    1.58  		*-dev)
    1.59  			copy @dev
    1.60 -			DEPENDS="glusterfs acl-dev sqlite3-dev"
    1.61 +			DEPENDS="acl-dev glusterfs sqlite3-dev"
    1.62  			;;
    1.63  	esac
    1.64  }