wok annotate simh/receipt @ rev 24723
updated libcap, libcap-dev and libcap-pam (2.33 -> 2.63)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 10:34:20 2022 +0100 (2022-03-15) |
parents | 9c53e96ffd54 |
children | 0aa534391a15 |
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@24425 | 19 # What is the latest version available today? |
pascal@24425 | 20 current_version() |
pascal@24425 | 21 { |
pascal@24425 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 23 sed "/simh/!d;/zip/!d;s|.*simhv\\(.*\\).zip.*\".*|\\1|;s|.|&.|;s|-|.|" | sort -Vr | sed q |
pascal@24425 | 24 } |
pascal@24425 | 25 |
pascal@17188 | 26 # Rules to configure and make the package. |
pascal@17188 | 27 compile_rules() |
pascal@17188 | 28 { |
pascal@18376 | 29 mkdir BIN |
pascal@18375 | 30 make -j 1 |
pascal@17188 | 31 } |
pascal@17188 | 32 |
pascal@17188 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17188 | 34 genpkg_rules() |
pascal@17188 | 35 { |
pascal@17188 | 36 mkdir -p $fs/usr/bin |
Hans-G?nter@23646 | 37 cp -a $src/BIN/* $fs/usr/bin |
pascal@17188 | 38 } |