diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
commit | 4449c749e4d0a531f4dffcd6bd11772e59ecbf81 (patch) | |
tree | 47ac23a46562d1736503b9b2447f81b34199c04e /games-emulation/tuxnes | |
parent | New package - rename. (diff) | |
download | historical-4449c749e4d0a531f4dffcd6bd11772e59ecbf81.tar.gz historical-4449c749e4d0a531f4dffcd6bd11772e59ecbf81.tar.bz2 historical-4449c749e4d0a531f4dffcd6bd11772e59ecbf81.zip |
welcome to games-emulation
Diffstat (limited to 'games-emulation/tuxnes')
-rw-r--r-- | games-emulation/tuxnes/ChangeLog | 12 | ||||
-rw-r--r-- | games-emulation/tuxnes/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff | 46 | ||||
-rw-r--r-- | games-emulation/tuxnes/files/digest-tuxnes-0.75 | 1 | ||||
-rw-r--r-- | games-emulation/tuxnes/tuxnes-0.75.ebuild | 51 |
5 files changed, 114 insertions, 0 deletions
diff --git a/games-emulation/tuxnes/ChangeLog b/games-emulation/tuxnes/ChangeLog new file mode 100644 index 000000000000..d93ab5eae7f7 --- /dev/null +++ b/games-emulation/tuxnes/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-emulation/tuxnes +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $ + +*tuxnes-0.75 (11 Dec 2002) + + 31 Jan 2003; Martin Holzer <mholzer@gentoo.org> tuxnes-0.75.ebuild : + Change SRC_URI to use mirror://sourceforge. + + 11 Dec 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog : + New package + diff --git a/games-emulation/tuxnes/Manifest b/games-emulation/tuxnes/Manifest new file mode 100644 index 000000000000..1986c3a2f4b3 --- /dev/null +++ b/games-emulation/tuxnes/Manifest @@ -0,0 +1,4 @@ +MD5 9369efb94f81b1043189d4f72ae048d7 files/configure.in-tuxnes-0.75-gentoo.diff 1739 +MD5 55a5bee2cd9089545a3b10f1833f5a9a files/digest-tuxnes-0.75 63 +MD5 117a6cb523245dc0b2b650b62c4e48fb ChangeLog 447 +MD5 b436a9a476bbf9282fc9fcdd33ea0faf tuxnes-0.75.ebuild 1114 diff --git a/games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff b/games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff new file mode 100644 index 000000000000..73204ae0e3da --- /dev/null +++ b/games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff @@ -0,0 +1,46 @@ +--- tuxnes-0.75/configure.in 2001-04-15 20:08:07.000000000 -0500 ++++ tuxnes-0.75-gentoo/configure.in 2002-12-03 00:38:41.000000000 -0500 +@@ -31,7 +31,8 @@ + dnl Don't assume we want high level optimisations, it is known to + dnl produce broken code on certain architectures using certain compilers + dnl -------------------------------------------------------------------- +-CFLAGS="-O" ++dnl We'll fix this the Gentoo way ++dnl CFLAGS="-O" + AC_SUBST(CFLAGS) + + dnl -------------------------------------------------------------------- +@@ -46,12 +47,12 @@ + AC_ARG_ENABLE(warnings, [ --enable-warnings enable more compilation warning checks [default=no]], enable_warnings="yes", enable_warnings="no") + + if test "x$enable_warnings" = "xyes"; then +- CFLAGS="$CFLAGS -pipe -W -Wall -ansi -pedantic -Wbad-function-cast \ ++ CFLAGS="$CFLAGS -W -Wall -ansi -pedantic -Wbad-function-cast \ + -Wcast-align -Wcast-qual -Wchar-subscripts -Wconversion -Winline \ + -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ + -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings" + else +- CFLAGS="$CFLAGS -pipe -Wall" ++ CFLAGS="$CFLAGS" + fi + AC_SUBST(CFLAGS) + +@@ -144,12 +145,9 @@ + [ --without-ggi disable check for GGI (General Graphics Interface)]) + + if test "x$with_ggi" != "xno"; then +- OCPPFLAGS="$CPPFLAGS" +- CPPFLAGS="-I/usr/local/include" +- AC_CHECK_HEADERS(ggi/gii.h ggi/ggi.h, CFLAGS="$CFLAGS -I/usr/local/include") ++ AC_CHECK_HEADERS(ggi/gii.h ggi/ggi.h) + AC_CHECK_LIB(ggi, ggiInit) + AC_CHECK_LIB(gii, giiInit) +- CPPFLAGS="$OCPPFLAGS" + fi + + dnl -------------------------------------------------------------------- +@@ -210,3 +208,4 @@ + AC_CHECK_FUNCS(gettimeofday strtod strtoul) + + AC_OUTPUT(Makefile) ++ diff --git a/games-emulation/tuxnes/files/digest-tuxnes-0.75 b/games-emulation/tuxnes/files/digest-tuxnes-0.75 new file mode 100644 index 000000000000..7bc52404f40d --- /dev/null +++ b/games-emulation/tuxnes/files/digest-tuxnes-0.75 @@ -0,0 +1 @@ +MD5 5db0cd42dfdff3e681805e93b4867c43 tuxnes-0.75.tar.gz 198735 diff --git a/games-emulation/tuxnes/tuxnes-0.75.ebuild b/games-emulation/tuxnes/tuxnes-0.75.ebuild new file mode 100644 index 000000000000..048dd0900df9 --- /dev/null +++ b/games-emulation/tuxnes/tuxnes-0.75.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/tuxnes-0.75.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="emulator for the 8-bit Nintendo Entertainment System" +HOMEPAGE="http://tuxnes.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="X ggi" + +DEPEND=">=media-libs/netpbm-9.12 + X? ( virtual/x11 ) + ggi? ( >=media-libs/libggi-2.0.1 )" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/configure.in-${P}-gentoo.diff + autoreconf &>/dev/null +} + +src_compile() { + replace-flags "-O?" "-O" + + # Don't even bother checking for W windows + econf \ + --without-w \ + `use_with ggi` \ + `use_with X x` \ + || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + # Install pixmaps + dodir /usr/share/pixmaps + insinto /usr/share/pixmaps + doins tuxnes.xpm tuxnes2.xpm + + # Install documentation + dodoc AUTHORS BUGS ChangeLog CHANGES \ + COPYING INSTALL NEWS README THANKS +} |