wok-6.x view simh/receipt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents 9c53e96ffd54
children 0aa534391a15
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/${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 }