pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Added a new Alpha CPU simulator axpbox



Module Name:	pkgsrc-wip
Committed By:	astr0baby <astr0b4by%gmail.com@localhost>
Pushed By:	astr0b4by
Date:		Fri Nov 6 14:35:15 2020 +0000
Changeset:	6797167de8410b4aa63f673e219d508f7b4e7b77

Modified Files:
	Makefile
Added Files:
	axpbox-git/DESCR
	axpbox-git/MESSAGE
	axpbox-git/Makefile
	axpbox-git/PLIST
	axpbox-git/distinfo

Log Message:
Added a new Alpha CPU simulator axpbox

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6797167de8410b4aa63f673e219d508f7b4e7b77

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 axpbox-git/DESCR    |  5 +++++
 axpbox-git/MESSAGE  |  9 +++++++++
 axpbox-git/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++
 axpbox-git/PLIST    |  2 ++
 axpbox-git/distinfo |  6 ++++++
 6 files changed, 68 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b97e9dac0f..20bd7144fc 100644
--- a/Makefile
+++ b/Makefile
@@ -225,6 +225,7 @@ SUBDIR+=	avra
 SUBDIR+=	avrdude
 SUBDIR+=	axe
 SUBDIR+=	axel
+SUBDIR+=	axpbox-git
 SUBDIR+=	azureus
 SUBDIR+=	backintime
 SUBDIR+=	backplane
diff --git a/axpbox-git/DESCR b/axpbox-git/DESCR
new file mode 100644
index 0000000000..431e4cba71
--- /dev/null
+++ b/axpbox-git/DESCR
@@ -0,0 +1,5 @@
+AXPbox Alpha emulator
+
+AXPbox is a fork of the discontinued es40 emulator. It could theoretically used for running any operating system that runs on the OpenVMS or Tru64 PALcode (e.g. OpenVMS, Tru64 UNIX, Linux, NetBSD), however as of now only OpenVMS can be installed (for more details see Guest support).
+
+The emulator supports SCSI, IDE, serial ports, Ethernet (using PCAP) and VGA graphics (using SDL).
diff --git a/axpbox-git/MESSAGE b/axpbox-git/MESSAGE
new file mode 100644
index 0000000000..37c01b5a42
--- /dev/null
+++ b/axpbox-git/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD$
+Run axpbox with run argument from a directory where you have the
+disk image and es40.cfg configuration file your your VM.
+
+Please read the documentation on the project webpage
+https://github.com/lenticularis39/axpbox
+
+===========================================================================
diff --git a/axpbox-git/Makefile b/axpbox-git/Makefile
new file mode 100644
index 0000000000..6372a3e674
--- /dev/null
+++ b/axpbox-git/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	axpbox
+GITHUB_TAG=	main
+DISTNAME=	main
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=lenticularis39/}
+EXTRACT_SUFX=	.zip
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/lenticularis39/axpbox/
+COMMENT=	AXPbox is a fork of the discontinued es40 emulator. It emulates Alpha processor and can OpenVMS,Tru64,Linux and NetBSD
+#LICENSE=
+
+WRKSRC=			${WRKDIR}/axpbox-main
+USE_TOOLS+=		pkg-config gmake
+USE_PKGLOCALEDIR+=	yes
+USE_CMAKE=		yes
+USE_LANGUAGES=		c c++14
+MAKE_ENV+=		prefix=${PREFIX}
+
+CONFIGURE_DIRS=	build
+CMAKE_ARG_PATH=	..
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE="Release"
+CMAKE_ARGS+=	-DCMAKE_CXX_FLAGS="-O3 -march=native"
+CMAKE_ARGS+=	-DDEBUG=OFF
+CMAKE_ARGS+=	-DFASTER=OFF
+
+INSTALLATION_DIRS+=	bin
+
+pre-configure:
+	${MKDIR} -p ${WRKSRC}/build
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/build/axpbox ${DESTDIR}${PREFIX}/bin
+
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../lang/clang/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/axpbox-git/PLIST b/axpbox-git/PLIST
new file mode 100644
index 0000000000..5a2bdb7a13
--- /dev/null
+++ b/axpbox-git/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/axpbox
diff --git a/axpbox-git/distinfo b/axpbox-git/distinfo
new file mode 100644
index 0000000000..cd64b6a451
--- /dev/null
+++ b/axpbox-git/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (axpbox/main.zip) = a1e18048ac785820548983a0c98fb15ee8a74ef5
+RMD160 (axpbox/main.zip) = 636502284bc5e164cf915c46c5d905277b7bd2da
+SHA512 (axpbox/main.zip) = d5ec892d6ea2e3dea5bb40c367f2679dd0f70a060af54c49e51f29e9206dc9bd4efe9a5737aee92ffdf31f0e2ba5a3346f4fd61bef7e1b6d8e4e21121751183b
+Size (axpbox/main.zip) = 684802 bytes


Home | Main Index | Thread Index | Old Index