wok annotate ckermit/receipt @ rev 25180

Up puzzles (20220612)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 05 09:19:22 2022 +0000 (2022-07-05)
parents 3705d68ed8f3
children 41a539cfe5f8
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@14002 11 WGET_URL="ftp://kermit.columbia.edu/kermit/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 }