Commit 3c5a3887 authored by prspkt's avatar prspkt Committed by Leo
Browse files

testing/simh: upgrade to 3.11.1

* Clarify license.
* Enable on all arches.
* Switch to github for latest sources.
parent 13e0cb72
Pipeline #29588 skipped
# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=simh
pkgver=3.9.0
_pkgver=39-0
pkgver=3.11.1
_pkgver=3.11-1
pkgrel=0
pkgdesc="simulator for historical computers"
url="http://simh.trailing-edge.com"
arch="" # fails to build
license="BSD"
arch="all" # fails to build
license="BSD-3-Clause"
options="!check"
makedepends="libpcap-dev"
source="http://simh.trailing-edge.com/sources/simhv$_pkgver.zip"
builddir="$srcdir/"
source="simh-$pkgver.tar.gz::https://github.com/simh/simh/archive/v$_pkgver.tar.gz"
builddir="$srcdir"/simh-$_pkgver
build() {
cd "$builddir"
mkdir -p BIN
mkdir BIN
find VAX -type f -exec sed -i 's/SIM_INLINE//' {} +
make USEN_NETWORK=1 NETWORK_OPT="-DUSE_NETWORK -isystem /usr/include -lpcap"
}
......@@ -26,9 +25,9 @@ package() {
install -D $i "$pkgdir"/usr/bin/simh-$i
done
cd "$srcdir"/VAX
cd "$builddir"/VAX
mkdir -p "$pkgdir"/usr/lib/simh
cp *.bin "$pkgdir"/usr/lib/simh
}
sha512sums="5e8cbf92e980b7cb40d68ff60a266f70c0bef0eecdc169a8077ae72a6a71fe12a7be5c62bd033ca36727e2cb8f266a5a6f8a5ed6dd509afbf0a9d7b618f1a4f6 simhv39-0.zip"
sha512sums="7c2f81a64d3016b9a44409fc336c804c0da836317745d47594cc48c64cb57dc8f22084d9086e3f86868ec485ee56ac63301f350cee6d275e705b7c5fc82875db simh-3.11.1.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment