wok view simh/receipt @ rev 25305

simh: modified WGET_URL
author Hans-G?nter Theisgen
date Wed Jul 20 10:23:35 2022 +0100 (21 months ago)
parents 26a755385ece
children c5245e11296b
line source
1 # SliTaz package receipt.
3 PACKAGE="simh"
4 VERSION="3.12.2"
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/${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 }