summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-06-24 13:16:55 +0000
committerJakub Moc <jakub@gentoo.org>2007-06-24 13:16:55 +0000
commit8ce1c3d9538298c8892b01f87b9375273019c45d (patch)
tree2df927f3f0e27d6dc58ba376cf072906920fbb30 /games-engines/dagii/dagii-0.4.1.ebuild
parentgames-engines/dagii: Fix dependencies, add ~x86 keyword (diff)
downloadsunrise-8ce1c3d9538298c8892b01f87b9375273019c45d.tar.gz
sunrise-8ce1c3d9538298c8892b01f87b9375273019c45d.tar.bz2
sunrise-8ce1c3d9538298c8892b01f87b9375273019c45d.zip
games-engines/dagii: Version bump
svn path=/sunrise/; revision=4036
Diffstat (limited to 'games-engines/dagii/dagii-0.4.1.ebuild')
-rw-r--r--games-engines/dagii/dagii-0.4.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/games-engines/dagii/dagii-0.4.1.ebuild b/games-engines/dagii/dagii-0.4.1.ebuild
new file mode 100644
index 000000000..f0d5cae56
--- /dev/null
+++ b/games-engines/dagii/dagii-0.4.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games
+
+DESCRIPTION="a reimplementation of Sierra's Adventure Game Interpreter"
+HOMEPAGE="http://www.dagii.org/"
+SRC_URI="http://www.dagii.org/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86 ~x86-fbsd"
+IUSE="png"
+
+DEPEND="png? ( >=media-libs/libpng-1.2.8 )
+ >=media-libs/libsdl-1.2.9
+ >=sys-libs/zlib-1.2.0"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ egamesconf $(use_enable png libpng ) || die "econf failed"
+ emake dep || die "emake dep failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin src/${PN}
+ dodoc README.txt
+ doicon "${FILESDIR}/${PN}.xpm"
+ make_desktop_entry ${PN} ${PN} ${PN}.xpm "Game;AdventureGame"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ elog "Dagii looks for games either in the user's current directory"
+ elog "or in a location passed as a path in the command line"
+ elog "For example: \"$ dagii /usr/share/games/kq3\""
+ elog "Also, dagii can play games which are stored in .zip archives."
+ echo
+ games_pkg_postinst
+}