simh: update to 3.12.

This commit is contained in:
Andrew Benson 2023-03-28 08:01:19 -05:00
parent 8e948dccf2
commit 06af4336ac

View file

@ -1,17 +1,17 @@
# Template file for 'simh' # Template file for 'simh'
pkgname=simh pkgname=simh
version=3.11 version=3.12
revision=1 revision=1
create_wrksrc=yes create_wrksrc=yes
build_wrksrc="sim" build_wrksrc="sim"
hostmakedepends="libpcap-devel unzip" hostmakedepends="unzip"
makedepends="libpcap-devel" makedepends="libpcap-devel"
short_desc="Emulator for historical computers including PDP-11 and VAX" short_desc="Emulator for historical computers including PDP-11 and VAX"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="http://simh.trailing-edge.com/" homepage="http://simh.trailing-edge.com/"
distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip" distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-3.zip"
checksum=7c96d6b3779e9b50f3847812042aa27b2b3e0787c4ac762b2dc4830a9fb27adc checksum=b7177b23242c601f1619b4eed176107fcec2bfb6562ebf0850c1145576bae053
nopie=yes nopie=yes
CFLAGS="-fcommon" CFLAGS="-fcommon"
@ -21,12 +21,12 @@ do_build() {
make ${makejobs} all \ make ${makejobs} all \
OS_CCDEFS="$CFLAGS -D_GNU_SOURCE" \ OS_CCDEFS="$CFLAGS -D_GNU_SOURCE" \
OS_LDFLAGS="$LDFLAGS -pthread -lm" \ OS_LDFLAGS="$LDFLAGS -pthread -lm" \
USE_NETWORK=1 \
NETWORK_OPT="-DUSE_NETWORK -isystem ${XBPS_CROSS_BASE}/usr/include -lpcap" NETWORK_OPT="-DUSE_NETWORK -isystem ${XBPS_CROSS_BASE}/usr/include -lpcap"
} }
do_install() { do_install() {
( (
cd BIN cd BIN
rm -r buildtools
for b in *; do vbin $b simh-$b; done for b in *; do vbin $b simh-$b; done
) )
vinstall VAX/ka655x.bin 0644 usr/lib/simh vinstall VAX/ka655x.bin 0644 usr/lib/simh