wok annotate sysbench/receipt @ rev 25691
Up lynis (3.1.1), ncurses-examples (20211021)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 16 10:43:04 2024 +0000 (6 weeks ago) |
parents | 9bbac86a37f7 |
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@25601 | 16 # What is the latest version available today? |
pascal@24139 | 17 current_version() |
pascal@24139 | 18 { |
pascal@24295 | 19 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@25601 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24139 | 21 } |
pascal@24139 | 22 |
pascal@18464 | 23 # Rules to configure and make the package. |
pascal@18464 | 24 compile_rules() |
pascal@18464 | 25 { |
pascal@18464 | 26 ./autogen.sh |
pascal@18464 | 27 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@24139 | 28 make -j 1 && |
pascal@18464 | 29 make DESTDIR=$DESTDIR install |
pascal@18464 | 30 } |
pascal@18464 | 31 |
pascal@18464 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18464 | 33 genpkg_rules() |
pascal@18464 | 34 { |
pascal@18464 | 35 mkdir -p $fs/usr |
pascal@18464 | 36 cp -a $install/usr/bin $fs/usr |
pascal@18464 | 37 } |