summaryrefslogtreecommitdiff
path: root/user/minivmac
diff options
context:
space:
mode:
authorHorst G. Burkhardt <horst@adelielinux.org>2018-05-27 00:25:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-27 00:25:44 -0500
commit1d9a0f330e04a73fa97b38a8f5f9d57d702d85bb (patch)
treedfb566605e3ed2a89970c8d0eab6e7ef96554a2b /user/minivmac
parentf2baf0deb830d09a15d4910f1d2dd669b87b92d2 (diff)
downloadpackages-1d9a0f330e04a73fa97b38a8f5f9d57d702d85bb.tar.gz
packages-1d9a0f330e04a73fa97b38a8f5f9d57d702d85bb.tar.bz2
packages-1d9a0f330e04a73fa97b38a8f5f9d57d702d85bb.tar.xz
packages-1d9a0f330e04a73fa97b38a8f5f9d57d702d85bb.zip
user/minivmac: new package
Diffstat (limited to 'user/minivmac')
-rw-r--r--user/minivmac/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/minivmac/APKBUILD b/user/minivmac/APKBUILD
new file mode 100644
index 000000000..56e7814f4
--- /dev/null
+++ b/user/minivmac/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Horst Burkhardt <horst@adelielinux.org>
+# Maintainer: Horst Burkhardt <horst@adelielinux.org>
+pkgname=minivmac
+pkgver=3.5.8
+pkgrel=1
+pkgdesc="a simple and accurate emulator of early Macintosh computers"
+url="http://www.gryphel.com/c/minivmac/"
+arch="all !s390x"
+options="!check" # minivmac does not ship a test suite
+license="GPL-2.0-only"
+depends=""
+makedepends="libx11-dev libxcb-dev libxau-dev libbsd-dev libxdmcp-dev"
+source="http://oddball.tech/code/emu_pkg/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ CARCH=$CARCH ./configure
+ cd "$builddir"/mnvmplus
+ make -j1
+ cd "$builddir"/mnvmII
+ make -j1
+}
+
+package() {
+ install -D -m755 "$builddir"/mnvmplus/minivmac "$pkgdir"/usr/bin/minivmac
+ install -m755 "$builddir"/mnvmII/minivmac "$pkgdir"/usr/bin/minivmacII
+}
+
+sha512sums="ff28266641dd37df74c84c16c8bf32282729d55ae6512d4a98abf92ba40692f9fc107b501f072755ba0f8a0322d4f755915d9be74a407ce89af94bfd24d11043 minivmac-3.5.8.tar.xz"