wok view ckermit/receipt @ rev 25604

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