wok view sysbench/receipt @ rev 21874

facter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:31:06 2019 +0200 (2019-09-28)
parents
children 8eaf1d9eb640
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.bz2"
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./autogen.sh
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }