wok-current view strace/receipt @ rev 25368
libmpd: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 10:44:25 2022 +0000 (2022-07-29) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="strace"
4 VERSION="5.18"
5 CATEGORY="development"
6 TAGS="analysis debugger diagnostic"
7 SHORT_DESC="System call tracer."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://strace.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 SUGGESTED="perl" # for strace-graph
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 cp -a src/strace-graph $install/usr/bin
31 find $install -name strace.1 -exec gzip -9 \{\} \;
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }