wok-current annotate retty/receipt @ rev 24801
updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:00:57 2022 +0100 (2022-03-22) |
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 |