wok diff sysbench/receipt @ rev 24139

Add redupe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 17:05:26 2021 +0000 (2021-11-09)
parents bd1e14bc2dbc
children 9bbac86a37f7
line diff
     1.1 --- a/sysbench/receipt	Fri Oct 02 09:44:45 2015 +0200
     1.2 +++ b/sysbench/receipt	Tue Nov 09 17:05:26 2021 +0000
     1.3 @@ -6,19 +6,25 @@
     1.4  SHORT_DESC="A modular, cross-platform and multi-threaded benchmark tool."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="https://github.com/akopytov/sysbench"
    1.10  WGET_URL="git|git://github.com/akopytov/sysbench.git"
    1.11  
    1.12  DEPENDS="libmysqlclient libssl zlib"
    1.13  BUILD_DEPENDS="git automake autoconf libtool mysql-dev openssl-dev zlib-dev"
    1.14  
    1.15 +current_version()
    1.16 +{
    1.17 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.18 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    1.19 +}
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24  	./autogen.sh
    1.25  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.26 -	make &&
    1.27 +	make -j 1 &&
    1.28  	make DESTDIR=$DESTDIR install
    1.29  }
    1.30