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"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;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
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)