wok-current view reptyr/receipt @ rev 25262
updated rclone (1.51.0 -> 1.59.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:42:33 2022 +0100 (2022-07-15) |
parents | 5ea0ce1cecc0 |
children | 65021c2417fe |
line source
1 # SliTaz package receipt.
3 PACKAGE="reptyr"
4 VERSION="0.7.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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/nelhage/reptyr"
11 WGET_URL="$WEB_SITE/archive/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="wget"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/reptyr-\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|/usr/local|/usr|' Makefile
26 sed -i 's|PTRACE_GETREGSET|0x4204|;s|PTRACE_SETREGSET|0x4205|' \
27 platform/linux/linux_ptrace.c
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }