X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lists.alpinelinux.org (Postfix) with ESMTP id 540735C50E5 for ; Tue, 5 Jun 2018 18:48:19 +0000 (GMT) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1C54C21017 for ; Tue, 5 Jun 2018 20:48:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1528224498; bh=YeFCAeXJ3ah25uqQT4b7GaUwtHI4T5t4npugDqTDp44=; h=From:To:Cc:Subject:Date:From; b=cWlzovsDiUxSNMsxaqhhmJ4QoQqav69KzO5YxpINI8PtqAUiiqdsJSTPOJpUC2V5s bOVuDe1EU8fxVipyv/hNoEOd6ITM5gcHNZBYkn5rk/X1kGpq782USrh44VQnhz+8us 2+6jSELxmX5EWTrq9r2mQMP3dsZWD4yJcVxhJvyr8NP9GF64c/YJQjSjdg0zxVvir1 22HW4XMr+6qToZLGeijf/4oCNLBt956g4E/ansaYLDHDGHLpfJC9ly/zUue38eJhUG 4Q7w9Tj9Duk3T4EOxtmwxYuUyEBVzIgYFSLE4k1QICXnGyWCzT6/iRAsDM9RmaX9yc hSsa13Cd5Lj3A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 410gmW5ynMz9rxd; Tue, 5 Jun 2018 20:48:11 +0200 (CEST) From: Sascha Paunovic To: alpine-aports@lists.alpinelinux.org Cc: Sascha Paunovic Subject: [alpine-aports] [PATCH] testing/simh: new aport Date: Tue, 5 Jun 2018 20:48:07 +0200 Message-Id: <20180605184807.4008-1-azarus@posteo.net> X-Mailer: git-send-email 2.17.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/simh/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/simh/APKBUILD diff --git a/testing/simh/APKBUILD b/testing/simh/APKBUILD new file mode 100644 index 0000000000..85bf3e9cca --- /dev/null +++ b/testing/simh/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Sascha Paunovic +# Maintainer: Sascha Paunovic +pkgname=simh +pkgver=3.9.0 +_pkgver=39-0 +pkgrel=0 +pkgdesc="simulator for historical computers" +url="http://simh.trailing-edge.com" +arch="all" +license="BSD" +options="!check" +makedepends="libpcap-dev" +source="http://simh.trailing-edge.com/sources/simhv$_pkgver.zip" +builddir="$srcdir/" + +build() { + cd "$builddir" + mkdir -p BIN + find VAX -type f -exec sed -i 's/SIM_INLINE//' {} + + make USEN_NETWORK=1 NETWORK_OPT="-DUSE_NETWORK -isystem /usr/include -lpcap" +} + +package() { + cd "$builddir"/BIN + for i in *; do + install -D $i "$pkgdir"/usr/bin/simh-$i + done + + cd "$srcdir"/VAX + mkdir -p "$pkgdir"/usr/lib/simh + cp *.bin "$pkgdir"/usr/lib/simh +} + +sha512sums="5e8cbf92e980b7cb40d68ff60a266f70c0bef0eecdc169a8077ae72a6a71fe12a7be5c62bd033ca36727e2cb8f266a5a6f8a5ed6dd509afbf0a9d7b618f1a4f6 simhv39-0.zip" -- 2.17.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---