wok-current view strace/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
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 }