wok-6.x annotate strace/receipt @ rev 24867

updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author Hans-G?nter Theisgen
date Wed Mar 30 17:27:13 2022 +0100 (2022-03-30)
parents b2c9788603ac
children be6d790548d7
rev   line source
erjo@442 1 # SliTaz package receipt.
erjo@442 2
erjo@442 3 PACKAGE="strace"
Hans-G?nter@23673 4 VERSION="5.6"
pascal@741 5 CATEGORY="development"
Hans-G?nter@21977 6 TAGS="analysis debugger diagnostic"
Hans-G?nter@21977 7 SHORT_DESC="System call tracer."
erjo@784 8 MAINTAINER="erjo@slitaz.org"
pascal@15593 9 LICENSE="BSD"
Hans-G?nter@21977 10 WEB_SITE="https://strace.io/"
Hans-G?nter@21977 11
al@19168 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21977 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pascal@15593 14
pascal@24055 15 current_version()
pascal@24055 16 {
pascal@24055 17 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 19 }
pascal@24055 20
erjo@442 21 # Rules to configure and make the package.
erjo@442 22 compile_rules()
erjo@442 23 {
Hans-G?nter@21977 24 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21977 25 make &&
Hans-G?nter@21977 26 make install
Hans-G?nter@23673 27
al@19168 28 find $install -name strace.1 -exec gzip -9 \{\} \;
erjo@442 29 }
erjo@442 30
erjo@442 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@442 32 genpkg_rules()
erjo@442 33 {
Hans-G?nter@23673 34 cp -a $install/* $fs
erjo@442 35 }