summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-06-21 20:30:22 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-06-21 20:30:22 +0000
commit9620843305a1b69ad8045476aa29bf4305549116 (patch)
treeb1fafb2d63a7c2c7e01e60fed614a4d1ea7da782
parentb27e2bab0de0cd714240dd579e7ca30dad7d8f88 (diff)
downloadpkgsrc-9620843305a1b69ad8045476aa29bf4305549116.tar.gz
Initial import of mips64emul-20040619 from pkgsrc-wip.
mips64emul is a MIPS machine emulator. The goals are to emulate 32-bit and 64-bit MIPS CPUs and enough surrounding hardware to fake real machines, capable of running real (unmodified) operating systems, such as NetBSD or Linux.
-rw-r--r--emulators/mips64emul/DESCR4
-rw-r--r--emulators/mips64emul/Makefile33
-rw-r--r--emulators/mips64emul/PLIST2
-rw-r--r--emulators/mips64emul/distinfo4
4 files changed, 43 insertions, 0 deletions
diff --git a/emulators/mips64emul/DESCR b/emulators/mips64emul/DESCR
new file mode 100644
index 00000000000..b96b55426a8
--- /dev/null
+++ b/emulators/mips64emul/DESCR
@@ -0,0 +1,4 @@
+mips64emul is a MIPS machine emulator. The goals are to emulate 32-bit and
+64-bit MIPS CPUs and enough surrounding hardware to fake real machines,
+capable of running real (unmodified) operating systems, such as NetBSD or
+Linux.
diff --git a/emulators/mips64emul/Makefile b/emulators/mips64emul/Makefile
new file mode 100644
index 00000000000..40632c57741
--- /dev/null
+++ b/emulators/mips64emul/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/21 20:30:22 xtraeme Exp $
+#
+
+DISTNAME= mips64emul-${DIST_VER}
+CATEGORIES= emulators
+MASTER_SITES= http://www.mdstud.chalmers.se/~md1gavan/mips64emul/src/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.mdstud.chalmers.se/~md1gavan/mips64emul/
+COMMENT= MIPS 32/64-bit emulator
+
+USE_BUILDLINK3= yes
+USE_X11= yes
+HAS_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/mips64emul-${DIST_VER}
+
+INSTALLATION_DIRS= bin
+
+DIST_VER= 20040619
+
+GLOBAL_LDFLAGS= -L${X11BASE}/lib \
+ ${_COMPILER_LD_FLAG}${RPATH_FLAG}${X11BASE}/lib
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mips64emul ${PREFIX}/bin
+
+SUBST_CLASSES= x11
+SUBST_STAGE.x11= post-patch
+SUBST_FILES.x11= configure
+SUBST_SED.x11= -e "s|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS}|g"
+SUBST_MESSAGE.x11= "Fixing linking flags."
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/mips64emul/PLIST b/emulators/mips64emul/PLIST
new file mode 100644
index 00000000000..ca4bc6e6e82
--- /dev/null
+++ b/emulators/mips64emul/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/21 20:30:22 xtraeme Exp $
+bin/mips64emul
diff --git a/emulators/mips64emul/distinfo b/emulators/mips64emul/distinfo
new file mode 100644
index 00000000000..5ae862caf82
--- /dev/null
+++ b/emulators/mips64emul/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/21 20:30:22 xtraeme Exp $
+
+SHA1 (mips64emul-20040619.tar.gz) = 2cfe52d3375396e477f7797c4120fcf7f267787f
+Size (mips64emul-20040619.tar.gz) = 383511 bytes