wok-current annotate sysbench/receipt @ rev 19766

mysql, mariadb: fix pre_install status (thanks Aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 20 09:35:09 2017 +0100 (2017-02-20)
parents
children 8eaf1d9eb640
rev   line source
pascal@18464 1 # SliTaz package receipt.
pascal@18464 2
pascal@18464 3 PACKAGE="sysbench"
pascal@18464 4 VERSION="20150930"
pascal@18464 5 CATEGORY="misc"
pascal@18464 6 SHORT_DESC="A modular, cross-platform and multi-threaded benchmark tool."
pascal@18464 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18464 8 LICENSE="GPL2"
pascal@18464 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@18464 10 WEB_SITE="https://github.com/akopytov/sysbench"
pascal@18464 11 WGET_URL="git|git://github.com/akopytov/sysbench.git"
pascal@18464 12
pascal@18464 13 DEPENDS="libmysqlclient libssl zlib"
pascal@18464 14 BUILD_DEPENDS="git automake autoconf libtool mysql-dev openssl-dev zlib-dev"
pascal@18464 15
pascal@18464 16 # Rules to configure and make the package.
pascal@18464 17 compile_rules()
pascal@18464 18 {
pascal@18464 19 ./autogen.sh
pascal@18464 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@18464 21 make &&
pascal@18464 22 make DESTDIR=$DESTDIR install
pascal@18464 23 }
pascal@18464 24
pascal@18464 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18464 26 genpkg_rules()
pascal@18464 27 {
pascal@18464 28 mkdir -p $fs/usr
pascal@18464 29 cp -a $install/usr/bin $fs/usr
pascal@18464 30 }