simh: update to 3.11.

This commit is contained in:
Leah Neukirchen 2020-10-18 22:51:23 +02:00
parent 1d261481e1
commit 146b04ae6d
1 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'simh'
pkgname=simh
version=3.9
revision=2
wrksrc=${pkgname}-${version}
version=3.11
revision=1
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
build_wrksrc="sim"
hostmakedepends="libpcap-devel unzip"
makedepends="libpcap-devel"
short_desc="Emulator for historical computers including PDP-11 and VAX"
@ -11,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://simh.trailing-edge.com/"
distfiles="http://simh.trailing-edge.com/sources/simhv${version/.}-0.zip"
checksum=e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
checksum=7c96d6b3779e9b50f3847812042aa27b2b3e0787c4ac762b2dc4830a9fb27adc
nopie=yes
CFLAGS="-fcommon"
@ -19,7 +20,7 @@ CFLAGS="-fcommon"
do_build() {
mkdir -p BIN
make ${makejobs} all \
OS_CCDEFS="$CFLAGS" \
OS_CCDEFS="$CFLAGS -D_GNU_SOURCE" \
OS_LDFLAGS="$LDFLAGS -pthread -lm" \
USE_NETWORK=1 \
NETWORK_OPT="-DUSE_NETWORK -isystem ${XBPS_CROSS_BASE}/usr/include -lpcap"