wok-current view simh/receipt @ rev 25280

updated rinetd (0.62 -> 0.73)
author Hans-G?nter Theisgen
date Mon Jul 18 15:13:04 2022 +0100 (2022-07-18)
parents 453c249b6219
children 26a755385ece
line source
1 # SliTaz package receipt.
3 PACKAGE="simh"
4 VERSION="3.11.0"
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 - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/simh/!d;/zip/!d;s|.*simhv\\(.*\\).zip.*\".*|\\1|;s|.|&.|;s|-|.|" | sort -Vr | sed 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 }