wok view reptyr/receipt @ rev 24027

os-prober: added dependency coreutils
author Hans-G?nter Theisgen
date Wed Mar 24 16:32:15 2021 +0100 (2021-03-24)
parents 432dd31a79d5
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/local|/usr|' Makefile
20 sed -i 's|PTRACE_GETREGSET|0x4204|;s|PTRACE_SETREGSET|0x4205|' \
21 platform/linux/linux_ptrace.c
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }