wok view simh/receipt @ rev 25605

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 10:59:53 2023 +0000 (16 months ago)
parents e6b7394ac676
children
line source
1 # SliTaz package receipt.
3 PACKAGE="simh"
4 VERSION="3.12.3"
5 CATEGORY="misc"
6 TAGS="emulator PDP VAX Interdata Honeywell altair nova"
7 SHORT_DESC="multi-system simulator."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://simh.trailing-edge.com/"
12 vers=${VERSION/./}
13 vers=${vers/./-}
14 TARBALL="${PACKAGE}-${VERSION}.zip"
15 WGET_URL="${WEB_SITE}sources/archive/${PACKAGE}v$vers.zip"
17 BUILD_DEPENDS="libpcap-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/sources\/simh/!d;s|.*SIMH V||;s|<.*||;s|-|.|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir BIN
30 make -j 1
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/BIN/* $fs/usr/bin
38 }