SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sysbench"

# SliTaz package receipt.

PACKAGE="sysbench"
VERSION="20150930"
CATEGORY="misc"
SHORT_DESC="A modular, cross-platform and multi-threaded benchmark tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/akopytov/sysbench"
WGET_URL="git|git://github.com/akopytov/sysbench.git"

DEPENDS="libmysqlclient libssl zlib"
BUILD_DEPENDS="git automake autoconf libtool mysql-dev openssl-dev zlib-dev"

current_version()
{
    wget -O - $WEB_SITE/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)