summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/methane')
-rw-r--r--games-arcade/methane/ChangeLog8
-rw-r--r--games-arcade/methane/files/digest-methane-1.4.61
-rw-r--r--games-arcade/methane/methane-1.4.6.ebuild48
3 files changed, 57 insertions, 0 deletions
diff --git a/games-arcade/methane/ChangeLog b/games-arcade/methane/ChangeLog
new file mode 100644
index 000000000000..7079e00a6e85
--- /dev/null
+++ b/games-arcade/methane/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-arcade/methane
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.1 2004/01/18 04:57:09 vapier Exp $
+
+*methane-1.4.6 (17 Jan 2004)
+
+ 17 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Minati jean michel <magnet@suidzer0.org> #37666.
diff --git a/games-arcade/methane/files/digest-methane-1.4.6 b/games-arcade/methane/files/digest-methane-1.4.6
new file mode 100644
index 000000000000..1a542665b590
--- /dev/null
+++ b/games-arcade/methane/files/digest-methane-1.4.6
@@ -0,0 +1 @@
+MD5 fac55b79e9beb84fb2c1508b7a6b4964 methane.tgz 1040821
diff --git a/games-arcade/methane/methane-1.4.6.ebuild b/games-arcade/methane/methane-1.4.6.ebuild
new file mode 100644
index 000000000000..ecd92b830cf3
--- /dev/null
+++ b/games-arcade/methane/methane-1.4.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.6.ebuild,v 1.1 2004/01/18 04:57:09 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Port from a old amiga game."
+HOMEPAGE="http://www.methane.fsnet.co.uk/"
+SRC_URI="http://www.methane.fsnet.co.uk/${PN}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="mikmod"
+
+DEPEND="=dev-games/clanlib-0.6.5*
+ mikmod? ( media-libs/libmikmod )
+ >=sys-apps/sed-4"
+
+pkg_setup() {
+ clanlib-config 0.6.5
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/source/linux
+ if [ ! `use mikmod` ] ; then
+ sed -i \
+ -e 's/^\(MIKMOD_LIBS\)/#\1/g' \
+ -e 's/^\(METHANE_FLAGS\)/#\1/g' \
+ makefile || die "mikmod sed failed"
+ fi
+}
+
+src_compile() {
+ cd source/linux
+ emake -j1 || die
+}
+
+src_install() {
+ dogamesbin source/linux/methane || die "couldnt install methane"
+ dodir ${GAMES_STATEDIR}
+ touch ${D}/${GAMES_STATEDIR}/methanescores
+ dodoc authors copying history install todo
+ dohtml ${S}/docs/*
+ prepgamesdirs
+ fperms g+w ${GAMES_STATEDIR}/methanescores
+}