summaryrefslogtreecommitdiff
path: root/emulators/gxemul
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-03-30 00:30:44 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-03-30 00:30:44 +0000
commit0c2518864309e140a5dbf7992ec6018c5ea87f4d (patch)
tree49d262c19e1104f2712ac4742eea815498c64768 /emulators/gxemul
parent0b03a1a561782f84fed970a5bc83ccf209d301eb (diff)
downloadpkgsrc-0c2518864309e140a5dbf7992ec6018c5ea87f4d.tar.gz
Initial import of gxemul-20050329.
GXemul is a machine emulator. The initial goal was to write a simple 64-bit MIPS emulator for running multiprocessor experiments with a microkernel, but the emulator can be used for many other things. While some simulators only simulate a CPU, GXemul also simulates other hardware components, making it possible to use the emulator to run unmodified operating systems, such as NetBSD, OpenBSD, or Linux. [previously known as mips64emul, it was renamed because now supports more cpu archs than MIPS, as sparc, ppc...]
Diffstat (limited to 'emulators/gxemul')
-rw-r--r--emulators/gxemul/DESCR6
-rw-r--r--emulators/gxemul/Makefile45
-rw-r--r--emulators/gxemul/PLIST31
-rw-r--r--emulators/gxemul/distinfo5
4 files changed, 87 insertions, 0 deletions
diff --git a/emulators/gxemul/DESCR b/emulators/gxemul/DESCR
new file mode 100644
index 00000000000..8ef0c801333
--- /dev/null
+++ b/emulators/gxemul/DESCR
@@ -0,0 +1,6 @@
+GXemul is a machine emulator. The initial goal was to write a simple
+64-bit MIPS emulator for running multiprocessor experiments with a
+microkernel, but the emulator can be used for many other things. While
+some simulators only simulate a CPU, GXemul also simulates other
+hardware components, making it possible to use the emulator to run
+unmodified operating systems, such as NetBSD, OpenBSD, or Linux.
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
new file mode 100644
index 00000000000..262279797f7
--- /dev/null
+++ b/emulators/gxemul/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/30 00:30:44 xtraeme Exp $
+#
+
+DISTNAME= gxemul-20050329
+CATEGORIES= emulators
+MASTER_SITES= http://gavare.se/gxemul/src/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://gavare.se/gxemul/
+COMMENT= Machine emulator
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+HAS_CONFIGURE= yes
+
+INSTALLATION_DIRS= bin share/doc/${PKGBASE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${PREFIX}/man/man1
+.for f in README HISTORY BUGS TODO RELEASE LICENSE
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.c ${PREFIX}/share/doc/${PKGBASE}
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
+PKG_SUPPORTED_OPTIONS= X11
+PKG_DEFAULT_OPTIONS?= X11
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:MX11)
+USE_X11= yes
+GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
+SUBST_CLASSES= x11
+SUBST_STAGE.x11= post-patch
+SUBST_FILES.x11= configure
+SUBST_SED.x11= -e "s|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS}|g" \
+ -e "s|/usr/X11R6|${X11BASE}|g"
+SUBST_MESSAGE.x11= "Fixing X linking flags."
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gxemul/PLIST b/emulators/gxemul/PLIST
new file mode 100644
index 00000000000..80fe727a874
--- /dev/null
+++ b/emulators/gxemul/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/30 00:30:44 xtraeme Exp $
+bin/gxemul
+man/man1/gxemul.1
+share/doc/gxemul/20041024-netbsd-arc-installed.gif
+share/doc/gxemul/20041024-netbsd-arc-installed_small.gif
+share/doc/gxemul/20041024-openbsd-arc-installed.gif
+share/doc/gxemul/20041024-openbsd-arc-installed_small.gif
+share/doc/gxemul/20041129-redhat_mips.png
+share/doc/gxemul/20041129-redhat_mips_small.png
+share/doc/gxemul/20041213-debian_4.png
+share/doc/gxemul/20041213-debian_4_small.gif
+share/doc/gxemul/20050329-netbsd-hpcmips-6.png
+share/doc/gxemul/20050329-netbsd-hpcmips-6_small.png
+share/doc/gxemul/BUGS
+share/doc/gxemul/HISTORY
+share/doc/gxemul/LICENSE
+share/doc/gxemul/README
+share/doc/gxemul/RELEASE
+share/doc/gxemul/TODO
+share/doc/gxemul/hello_mips.c
+share/doc/gxemul/hello_ppc.c
+share/doc/gxemul/maddr.gif
+share/doc/gxemul/netbsd-pmax-20040630.png
+share/doc/gxemul/netbsd-pmax-20040630_small.png
+share/doc/gxemul/openbsd-pmax-20040710.png
+share/doc/gxemul/openbsd-pmax-20040710_small.png
+share/doc/gxemul/sprite-20040711.png
+share/doc/gxemul/sprite-20040711_small.png
+share/doc/gxemul/ultrix4.5-20040706.png
+share/doc/gxemul/ultrix4.5-20040706_small.gif
+@dirrm share/doc/gxemul
diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo
new file mode 100644
index 00000000000..15d6ddafc9b
--- /dev/null
+++ b/emulators/gxemul/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/30 00:30:44 xtraeme Exp $
+
+SHA1 (gxemul-20050329.tar.gz) = 3925c60788a5fdd5f22f75c2571978790afb4d8b
+RMD160 (gxemul-20050329.tar.gz) = d80974bc6d493971c7bd755bb8b39124da8b3b0a
+Size (gxemul-20050329.tar.gz) = 964206 bytes