wok annotate retty/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (11 months ago) |
parents | 5493122f67f2 |
children |
rev | line source |
---|---|
pascal@16768 | 1 # SliTaz package receipt. |
pascal@16768 | 2 |
pascal@16768 | 3 PACKAGE="retty" |
pascal@16768 | 4 VERSION="1.0" |
pascal@16768 | 5 CATEGORY="system-tools" |
pascal@16768 | 6 SHORT_DESC="Terminal attaching without screen" |
pascal@16768 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16768 | 8 LICENSE="GPL2" |
pascal@16768 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@16768 | 10 WEB_SITE="http://pasky.or.cz/dev/retty/" |
pascal@16768 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pascal@16768 | 12 |
pascal@16768 | 13 DEPENDS="" |
pascal@16768 | 14 BUILD_DEPENDS="" |
pascal@16768 | 15 |
pascal@24433 | 16 # What is the latest version available today? |
pascal@24433 | 17 current_version() |
pascal@24433 | 18 { |
pascal@24433 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24433 | 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 21 } |
pascal@24433 | 22 |
pascal@16768 | 23 # Rules to configure and make the package. |
pascal@16768 | 24 compile_rules() |
pascal@16768 | 25 { |
pascal@16768 | 26 make && strip *tty |
pascal@16768 | 27 } |
pascal@16768 | 28 |
pascal@16768 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16768 | 30 genpkg_rules() |
pascal@16768 | 31 { |
pascal@16768 | 32 mkdir -p $fs/usr/bin |
pascal@16768 | 33 cp -a $src/blindtty $fs/usr/bin |
pascal@16768 | 34 cp -a $src/retty $fs/usr/bin |
pascal@16768 | 35 } |
pascal@16768 | 36 |