wok-6.x annotate reptyr/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (13 months ago)
parents ac8ca9758df1
children
rev   line source
pascal@16767 1 # SliTaz package receipt.
pascal@16767 2
pascal@16767 3 PACKAGE="reptyr"
Hans-G?nter@25278 4 VERSION="0.9.0"
pascal@16767 5 CATEGORY="system-tools"
Hans-G?nter@25278 6 SHORT_DESC="Reparent a running program to a new terminal."
pascal@16767 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16767 8 LICENSE="MIT"
Hans-G?nter@25278 9 WEB_SITE="https://github.com/nelhage/reptyr"
Hans-G?nter@25278 10
pascal@16767 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16767 12 WGET_URL="$WEB_SITE/archive/$TARBALL"
pascal@16767 13
pascal@16767 14 DEPENDS=""
pascal@16767 15 BUILD_DEPENDS="wget"
pascal@16767 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/reptyr-\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@16767 23 # Rules to configure and make the package.
pascal@16767 24 compile_rules()
pascal@16767 25 {
pascal@21887 26 sed -i 's|PTRACE_GETREGSET|0x4204|;s|PTRACE_SETREGSET|0x4205|' \
pascal@21887 27 platform/linux/linux_ptrace.c
Hans-G?nter@25278 28 make PREFIX=/usr &&
Hans-G?nter@25278 29 make install PREFIX=/usr DESTDIR=$DESTDIR
pascal@16767 30 }
pascal@16767 31
pascal@16767 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16767 33 genpkg_rules()
pascal@16767 34 {
Hans-G?nter@25278 35 cook_copy_folders bin
pascal@16767 36 }