wok-6.x view reptyr/receipt @ rev 25278
updated reptyr (0.7.0 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 14:55:21 2022 +0100 (2022-07-18) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="reptyr"
4 VERSION="0.9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Reparent a running program to a new terminal."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/nelhage/reptyr"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="wget"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/reptyr-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|PTRACE_GETREGSET|0x4204|;s|PTRACE_SETREGSET|0x4205|' \
27 platform/linux/linux_ptrace.c
28 make PREFIX=/usr &&
29 make install PREFIX=/usr DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 }