summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-01 02:12:55 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-01 02:12:55 +0000
commit0709e95f92810f12a4c24dd81a8970b21f849a85 (patch)
treef838cc5cd1afe16aaa6350b732bc64d9d6e5de34 /games-arcade/smclone/smclone-0.99.5.ebuild
parentfix from Kevin Quinn to run through as much of src_test as possible (diff)
downloadgentoo-2-0709e95f92810f12a4c24dd81a8970b21f849a85.tar.gz
gentoo-2-0709e95f92810f12a4c24dd81a8970b21f849a85.tar.bz2
gentoo-2-0709e95f92810f12a4c24dd81a8970b21f849a85.zip
Version bump
(Portage version: 2.1.2-r12)
Diffstat (limited to 'games-arcade/smclone/smclone-0.99.5.ebuild')
-rw-r--r--games-arcade/smclone/smclone-0.99.5.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/games-arcade/smclone/smclone-0.99.5.ebuild b/games-arcade/smclone/smclone-0.99.5.ebuild
new file mode 100644
index 000000000000..11f407f5a082
--- /dev/null
+++ b/games-arcade/smclone/smclone-0.99.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smclone/smclone-0.99.5.ebuild,v 1.1 2007/03/01 02:12:55 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Secret Maryo Chronicles"
+HOMEPAGE="http://www.secretmaryo.org/"
+SRC_URI="mirror://sourceforge/${PN}/smc-${PV}.tar.bz2
+ mirror://sourceforge/${PN}/music_3.1_high.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-games/cegui-0.5.0
+ virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ app-arch/unzip"
+
+S=${WORKDIR}/smc-${PV}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use media-libs/sdl-image png ; then
+ die "Please emerge sdl-image with USE=png"
+ fi
+ if ! built_with_use dev-games/cegui devil opengl ; then
+ die "Please emerge cegui with USE=\"devil opengl\""
+ fi
+}
+
+src_unpack() {
+ unpack smc-${PV}.tar.bz2
+ cd "${S}"
+ unpack music_3.1_high.zip
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon data/icon/window_32.png ${PN}.png
+ make_desktop_entry smc "Secret Maryo Chronicles"
+ dodoc docs/*.txt
+ dohtml docs/{*.css,*.html}
+ prepgamesdirs
+}