wok view sysbench/receipt @ rev 25045

Update some wget_url or web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 08:33:59 2022 +0000 (2022-06-04)
parents 8eaf1d9eb640
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="sysbench"
4 VERSION="20150930"
5 CATEGORY="misc"
6 SHORT_DESC="A modular, cross-platform and multi-threaded benchmark tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/akopytov/sysbench"
11 WGET_URL="git|git://github.com/akopytov/sysbench.git"
13 DEPENDS="libmysqlclient libssl zlib"
14 BUILD_DEPENDS="git automake autoconf libtool mysql-dev openssl-dev zlib-dev"
16 current_version()
17 {
18 wget -O - $WEB_SITE/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }