wok view strace/receipt @ rev 24417
created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:16:47 2022 +0100 (2022-02-11) |
parents | b2c9788603ac |
children | be6d790548d7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="strace"
4 VERSION="5.6"
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 current_version()
16 {
17 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install
28 find $install -name strace.1 -exec gzip -9 \{\} \;
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }