wok-6.x annotate simh/receipt @ rev 24403

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 18:20:23 2022 +0000 (2022-02-08)
parents 0c66c08c2e82
children 453c249b6219
rev   line source
pascal@17188 1 # SliTaz package receipt.
pascal@17188 2
pascal@17188 3 PACKAGE="simh"
Hans-G?nter@23646 4 VERSION="3.11.0"
pascal@17188 5 CATEGORY="misc"
Hans-G?nter@23646 6 TAGS="emulator PDP VAX Interdata Honeywell altair nova"
pascal@17188 7 SHORT_DESC="multi-system simulator."
pascal@17188 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17188 9 LICENSE="GPL"
pascal@17188 10 WEB_SITE="http://simh.trailing-edge.com/"
Hans-G?nter@23646 11
Hans-G?nter@23646 12 vers=${VERSION/./}
Hans-G?nter@23646 13 vers=${vers/./-}
Hans-G?nter@23647 14 TARBALL="${PACKAGE}-${VERSION}.zip"
Hans-G?nter@23646 15 WGET_URL="${WEB_SITE}sources/${PACKAGE}v$vers.zip"
pascal@17188 16
pascal@17188 17 BUILD_DEPENDS="libpcap-dev"
pascal@17188 18
pascal@17188 19 # Rules to configure and make the package.
pascal@17188 20 compile_rules()
pascal@17188 21 {
pascal@18376 22 mkdir BIN
pascal@18375 23 make -j 1
pascal@17188 24 }
pascal@17188 25
pascal@17188 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17188 27 genpkg_rules()
pascal@17188 28 {
pascal@17188 29 mkdir -p $fs/usr/bin
Hans-G?nter@23646 30 cp -a $src/BIN/* $fs/usr/bin
pascal@17188 31 }