diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-07-16 03:21:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-07-16 03:21:24 +0000 |
commit | d22b7c4d80e664a4d66a8aeac346d64be3152cdc (patch) | |
tree | 8d10d41b3d17809e8fc469175b087b6b26ce7e3c /app-emulation | |
parent | version bump #23041 (diff) | |
download | historical-d22b7c4d80e664a4d66a8aeac346d64be3152cdc.tar.gz historical-d22b7c4d80e664a4d66a8aeac346d64be3152cdc.tar.bz2 historical-d22b7c4d80e664a4d66a8aeac346d64be3152cdc.zip |
initial ebuild #20818
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/generator/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/generator/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/generator/files/digest-generator-0.35 | 1 | ||||
-rw-r--r-- | app-emulation/generator/generator-0.35.ebuild | 51 |
4 files changed, 63 insertions, 0 deletions
diff --git a/app-emulation/generator/ChangeLog b/app-emulation/generator/ChangeLog new file mode 100644 index 000000000000..0a0ac412a801 --- /dev/null +++ b/app-emulation/generator/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-emulation/generator +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/generator/ChangeLog,v 1.1 2003/07/16 03:20:58 vapier Exp $ + +*generator-0.35 (15 Jul 2003) + + 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me for #20818. diff --git a/app-emulation/generator/Manifest b/app-emulation/generator/Manifest new file mode 100644 index 000000000000..38e9e0aa849a --- /dev/null +++ b/app-emulation/generator/Manifest @@ -0,0 +1,3 @@ +MD5 a3cc8571deee498c8299fab1e8d55df8 generator-0.35.ebuild 1527 +MD5 693c422146d7001565fb916cbb84faf5 files/digest-generator-0.35 66 +MD5 8372a2dd4f280ba78f4078c5c8826ff5 ChangeLog 365 diff --git a/app-emulation/generator/files/digest-generator-0.35 b/app-emulation/generator/files/digest-generator-0.35 new file mode 100644 index 000000000000..2e4ef0fce18e --- /dev/null +++ b/app-emulation/generator/files/digest-generator-0.35 @@ -0,0 +1 @@ +MD5 86f23702f2f7b38172863d080bb94630 generator-0.35.tar.gz 469541 diff --git a/app-emulation/generator/generator-0.35.ebuild b/app-emulation/generator/generator-0.35.ebuild new file mode 100644 index 000000000000..3508bcbc865b --- /dev/null +++ b/app-emulation/generator/generator-0.35.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/app-emulation/generator/generator-0.35.ebuild,v 1.1 2003/07/16 03:21:02 vapier Exp $ + +inherit games gcc + +DESCRIPTION="Sega Genesis / Mega Drive console emulator" +HOMEPAGE="http://www.squish.net/generator/" +SRC_URI="http://www.squish.net/generator/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="svga tcltk gtk" #allegro fails to compile + +DEPEND="gtk? ( =x11-libs/gtk+-1* media-libs/libsdl ) + svga? ( media-libs/svgalib ) + jpeg? ( media-libs/jpeg ) + x86? ( dev-lang/nasm )" +# allegro? ( media-libs/allegro ) +# tcltk? ( dev-lang/tk dev-lang/tcl ) #deprecated upstream + +src_compile() { + mkdir my-bins + + local myconf="--with-gcc=`gcc-major-version`" + [ "${ARCH}" == "x86" ] \ + && myconf="${myconf} --with-raze" \ + || myconf="${myconf} --with-cmz80" + + local mygui + for mygui in `use gtk` `use svga` ; do #`use allegro` `use tcltk` + [ "${mygui}" == "svga" ] && mygui=svgalib + make clean + egamesconf ${myconf} --with-${mygui} || die + make || die "building ${mygui}" + mv main/generator-${mygui} my-bins/ + done + if [ -z "`use gtk``use allegro``use svga``use tcltk`" ] ; then + egamesconf ${myconf} --with-gtk || die + make || die "building ${mygui}" + mv main/generator-gtk my-bins/ + fi +} + +src_install() { + #make install DESTDIR=${D} || die #all it does is install the binary ;) + dogamesbin my-bins/* + dodoc AUTHORS ChangeLog NEWS README TODO + prepgamesdirs +} |