wok-6.x annotate sysbench/receipt @ rev 24840

created recipes for libunibreak and libunibreak-dev
author Hans-G?nter Theisgen
date Fri Mar 25 09:25:18 2022 +0100 (2022-03-25)
parents 8eaf1d9eb640
children
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@24139 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
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@24139 16 current_version()
pascal@24139 17 {
pascal@24295 18 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24139 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24139 20 }
pascal@24139 21
pascal@18464 22 # Rules to configure and make the package.
pascal@18464 23 compile_rules()
pascal@18464 24 {
pascal@18464 25 ./autogen.sh
pascal@18464 26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@24139 27 make -j 1 &&
pascal@18464 28 make DESTDIR=$DESTDIR install
pascal@18464 29 }
pascal@18464 30
pascal@18464 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18464 32 genpkg_rules()
pascal@18464 33 {
pascal@18464 34 mkdir -p $fs/usr
pascal@18464 35 cp -a $install/usr/bin $fs/usr
pascal@18464 36 }