wok annotate ckermit/receipt @ rev 25587

Update some web_site / wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 06 11:04:30 2023 +0000 (18 months ago)
parents 2a0479881723
children 0af8df0b46fc
rev   line source
pascal@14002 1 # SliTaz package receipt.
pascal@14002 2
pascal@14002 3 PACKAGE="ckermit"
pascal@14002 4 VERSION="9.0.302"
pascal@14002 5 CATEGORY="network"
pascal@14002 6 SHORT_DESC="Portable Scriptable Network and Serial Communication Software."
pascal@14002 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="BSD"
pascal@14002 9 WEB_SITE="http://www.columbia.edu/kermit/ck90.html"
pascal@14002 10 TARBALL="cku${VERSION##*.}.tar.gz"
pascal@25441 11 WGET_URL="http://www.columbia.edu/kermit/ftp/archives/$TARBALL"
pascal@14002 12
pascal@14002 13 DEPENDS="ncurses"
pascal@14002 14 BUILD_DEPENDS="ncurses-dev"
pascal@14002 15
pascal@24436 16 # What is the latest version available today?
pascal@24436 17 current_version()
pascal@24436 18 {
pascal@24436 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24436 20 sed '/^<td>[0-9]/!d;s|<td>||;s|<.*||;q'
pascal@24436 21 }
pascal@24436 22
pascal@14002 23 # Rules to configure and make the package.
pascal@14002 24 compile_rules()
pascal@14002 25 {
pascal@20212 26 sed -i 's|uname -m|echo i486|' makefile
pascal@17673 27 make linux "LNKFLAGS=-lncurses -ltinfo"
pascal@14002 28 }
pascal@14002 29
pascal@14002 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14002 31 genpkg_rules()
pascal@14002 32 {
pascal@14002 33 mkdir -p $fs/usr/bin
pascal@14002 34 cp $src/wart $fs/usr/bin
pascal@14002 35 cp $src/wermit $fs/usr/bin
pascal@14002 36 }