wok-6.x annotate blktrace/receipt @ rev 24718

updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:41:02 2022 +0100 (2022-03-15)
parents bbb9e95382aa
children
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="blktrace"
Hans-G?nter@24381 4 VERSION="1.3.0"
pascal@13591 5 CATEGORY="system-tools"
pascal@13591 6 SHORT_DESC="Block layer IO tracing."
pascal@13591 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@24381 9 WEB_SITE="https://brick.kernel.dk/snaps"
Hans-G?nter@20749 10
pascal@13591 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13591 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@13591 13
pascal@13591 14 DEPENDS="libaio"
pascal@13591 15 BUILD_DEPENDS="libaio-dev"
pascal@13591 16
pascal@24373 17 # What is the latest version available today?
pascal@24373 18 current_version()
pascal@24373 19 {
pascal@24373 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24384 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24373 22 }
pascal@24373 23
pascal@13591 24 # Rules to configure and make the package.
pascal@13591 25 compile_rules()
pascal@13591 26 {
Hans-G?nter@24381 27 make install \
Hans-G?nter@24381 28 prefix=/usr \
Hans-G?nter@24381 29 DESTDIR=$DESTDIR
al@19278 30
Hans-G?nter@24381 31 # mkdir -p $install/usr/share
Hans-G?nter@24381 32 # mv $install/usr/man $install/usr/share
pascal@13591 33 }
pascal@13591 34
al@19278 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19278 36 genpkg_rules()
pascal@13591 37 {
Hans-G?nter@24381 38 cook_copy_folders bin
pascal@13591 39 }