diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-06-20 19:33:19 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-06-20 19:33:19 +0000 |
commit | 13d12f5c2db55eebde57496f27071d298849b4b5 (patch) | |
tree | 68bd6b47ba5210c9329b32a2d64692e44efa84be /emulators | |
parent | bd91528ac2c83e4cdf35be88dd06570ab4632e6f (diff) | |
download | pkgsrc-13d12f5c2db55eebde57496f27071d298849b4b5.tar.gz |
Initial import of pearpc-0.2.0 from pkgsrc-wip.
PearPC is an architecture independent PowerPC platform emulator capable of
running most PowerPC operating systems.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/pearpc/DESCR | 2 | ||||
-rw-r--r-- | emulators/pearpc/Makefile | 51 | ||||
-rw-r--r-- | emulators/pearpc/PLIST | 7 | ||||
-rw-r--r-- | emulators/pearpc/distinfo | 5 | ||||
-rw-r--r-- | emulators/pearpc/files/pearpc.sh | 6 |
5 files changed, 71 insertions, 0 deletions
diff --git a/emulators/pearpc/DESCR b/emulators/pearpc/DESCR new file mode 100644 index 00000000000..ff7b5da7038 --- /dev/null +++ b/emulators/pearpc/DESCR @@ -0,0 +1,2 @@ +PearPC is an architecture independent PowerPC platform emulator capable of +running most PowerPC operating systems. diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile new file mode 100644 index 00000000000..461965ba95d --- /dev/null +++ b/emulators/pearpc/Makefile @@ -0,0 +1,51 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/20 19:33:20 xtraeme Exp $ +# + +DISTNAME= pearpc-0.2.0 +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pearpc/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= dotz@irc.pl +HOMEPAGE= http://pearpc.sourceforge.net/ +COMMENT= PowerPC emulator + +GNU_CONFIGURE= yes +USE_BUILDLINK3= yes +USE_PKGINSTALL= yes +USE_X11= yes + +LIBS+= ${PTHREAD_LDFLAGS} + +EGDIR= ${PREFIX}/share/examples/${PKGBASE} +CONF_FILES= ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf + +.include "../../mk/bsd.prefs.mk" + +.if !empty(MACHINE_ARCH:Mi386) +BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm +CONFIGURE_ARGS+= --enable-cpu=jitc_x86 +.endif + +CONFIGURE_ARGS+= --disable-debug + +INSTALLATION_DIRS= share/${PKGBASE} bin + +do-install: + ${SED} -e "s,@PREFIX@,${PREFIX}," \ + -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \ + ${FILESDIR}/pearpc.sh > ${WRKSRC}/pearpc.sh + ${INSTALL_SCRIPT} ${WRKSRC}/pearpc.sh ${PREFIX}/bin/pearpc + ${INSTALL_PROGRAM} ${WRKSRC}/src/ppc ${PREFIX}/share/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/video.x ${PREFIX}/share/${PKGBASE} + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${EGDIR} + +SUBST_CLASSES= conf +SUBST_STAGE.conf= post-patch +SUBST_FILES.conf= ppccfg.example +SUBST_SED.conf= -e "s|\"nvram\"|\"/tmp/nvram\"|" +SUBST_MESSAGE.conf= "Fixing configuration file." + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/pearpc/PLIST b/emulators/pearpc/PLIST new file mode 100644 index 00000000000..6f86fc0fdea --- /dev/null +++ b/emulators/pearpc/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/20 19:33:19 xtraeme Exp $ +bin/pearpc +share/pearpc/ppc +share/pearpc/video.x +share/examples/pearpc/ppccfg.example +@dirrm share/examples/pearpc +@dirrm share/pearpc diff --git a/emulators/pearpc/distinfo b/emulators/pearpc/distinfo new file mode 100644 index 00000000000..ad92da71cb1 --- /dev/null +++ b/emulators/pearpc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/06/20 19:33:19 xtraeme Exp $ + +SHA1 (pearpc-0.2.0.tar.bz2) = b83a3cea723c077d8037e7a78015c4c325748dfc +Size (pearpc-0.2.0.tar.bz2) = 547558 bytes +SHA1 (patch-aa) = 2eaf48a1303bc07f26d4413ac2a915d3e75194c3 diff --git a/emulators/pearpc/files/pearpc.sh b/emulators/pearpc/files/pearpc.sh new file mode 100644 index 00000000000..a5022cb9d5d --- /dev/null +++ b/emulators/pearpc/files/pearpc.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# +# $NetBSD: pearpc.sh,v 1.1.1.1 2004/06/20 19:33:20 xtraeme Exp $ + +cd @PREFIX@/share/pearpc && exec ./ppc "$@" @PKG_SYSCONFDIR@/ppccfg.conf +exit 0 |