diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-08-17 03:33:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-08-17 03:33:09 +0000 |
commit | 5a8fc0fde7fd8de4f643d29724348dbfe5bc08eb (patch) | |
tree | 1878a2ff29dc6e39956aabfba475bf68c944a445 /games-engines | |
parent | Added a check for ARC4 crypgraphic support in the kernel. (Manifest recommit) (diff) | |
download | gentoo-2-5a8fc0fde7fd8de4f643d29724348dbfe5bc08eb.tar.gz gentoo-2-5a8fc0fde7fd8de4f643d29724348dbfe5bc08eb.tar.bz2 gentoo-2-5a8fc0fde7fd8de4f643d29724348dbfe5bc08eb.zip |
initial import #30519
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/stratagus/ChangeLog | 8 | ||||
-rw-r--r-- | games-engines/stratagus/Manifest | 2 | ||||
-rw-r--r-- | games-engines/stratagus/files/digest-stratagus-2.1 | 1 | ||||
-rw-r--r-- | games-engines/stratagus/metadata.xml | 5 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-2.1.ebuild | 56 |
5 files changed, 72 insertions, 0 deletions
diff --git a/games-engines/stratagus/ChangeLog b/games-engines/stratagus/ChangeLog new file mode 100644 index 000000000000..a4213debc0e8 --- /dev/null +++ b/games-engines/stratagus/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-engines/stratagus +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.1 2004/08/17 03:33:09 vapier Exp $ + +*stratagus-2.1 (16 Aug 2004) + + 16 Aug 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Martti Rannanj�rvi et al #30519. diff --git a/games-engines/stratagus/Manifest b/games-engines/stratagus/Manifest new file mode 100644 index 000000000000..d13474d3252f --- /dev/null +++ b/games-engines/stratagus/Manifest @@ -0,0 +1,2 @@ +MD5 4b520172c1dea501aaa5fdf585161ec6 stratagus-2.1.ebuild 1090 +MD5 4b13f331859d7e9dd8475a36fdb70725 files/digest-stratagus-2.1 69 diff --git a/games-engines/stratagus/files/digest-stratagus-2.1 b/games-engines/stratagus/files/digest-stratagus-2.1 new file mode 100644 index 000000000000..f34961c57b2b --- /dev/null +++ b/games-engines/stratagus/files/digest-stratagus-2.1 @@ -0,0 +1 @@ +MD5 ff6b2070b66e8847eeed6bedc24ad8bb stratagus-2.1-src.tar.gz 995686 diff --git a/games-engines/stratagus/metadata.xml b/games-engines/stratagus/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-engines/stratagus/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-engines/stratagus/stratagus-2.1.ebuild b/games-engines/stratagus/stratagus-2.1.ebuild new file mode 100644 index 000000000000..457782e2b973 --- /dev/null +++ b/games-engines/stratagus/stratagus-2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.1.ebuild,v 1.1 2004/08/17 03:33:09 vapier Exp $ + +inherit games + +MY_PV=040702 +DESCRIPTION="A realtime strategy game engine" +HOMEPAGE="http://www.stratagus.org/" +SRC_URI="mirror://sourceforge/stratagus/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug flac mad mikmod oggvorbis opengl" + +RDEPEND="virtual/libc + virtual/x11 + app-arch/bzip2 + dev-lang/lua + media-libs/libpng + media-libs/libsdl + sys-devel/gcc + sys-libs/zlib + flac? ( media-libs/flac ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod ) + oggvorbis? ( + media-libs/libogg + media-libs/libvorbis + )" + +S="${WORKDIR}/stratagus-${MY_PV}" + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_with oggvorbis ogg) \ + $(use_with mikmod) \ + $(use_with flac) \ + $(use_with mad) \ + $(use_with opengl) \ + || die "econf failed" + emake -j1 || die "emake failed" + + use doc && { + emake doc || die "making source documentation failed" + } +} + +src_install() { + dogamesbin stratagus || die + dodoc README + dohtml -r doc/* + prepgamesdirs +} |