summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:22 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:22 +0000
commitf0759f77429dfcff11fdeb040d0553dd1e8e0bd8 (patch)
treebc451cfc4f19d245b0c6a7f10e547fdc2006db52 /games-arcade/njam/njam-0.96.ebuild
parentaction games ! (diff)
downloadgentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.gz
gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.bz2
gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.zip
arcade games !
Diffstat (limited to 'games-arcade/njam/njam-0.96.ebuild')
-rw-r--r--games-arcade/njam/njam-0.96.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/games-arcade/njam/njam-0.96.ebuild b/games-arcade/njam/njam-0.96.ebuild
new file mode 100644
index 000000000000..ace9f4816891
--- /dev/null
+++ b/games-arcade/njam/njam-0.96.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/njam/njam-0.96.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $
+
+inherit games eutils
+
+MY_P="${P}-src"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="Multi or single-player network Pacman-like game in SDL"
+HOMEPAGE="http://njam.sourceforge.net/"
+SRC_URI="mirror://sourceforge/njam/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=media-libs/sdl-mixer-1.2.5
+ >=media-libs/sdl-image-1.2.2
+ >=media-libs/libsdl-1.2.5
+ >=media-libs/sdl-net-1.2.4"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}/njam.diff
+ epatch ${FILESDIR}/${PV}/njamgame.diff
+}
+
+src_compile() {
+ emake PREFIX="/usr/share" || die "emake failed"
+}
+
+src_install() {
+ dogamesbin njam
+
+ dodoc CHANGES README TODO
+
+ dohtml html/*
+
+ insinto ${GAMES_DATADIR}/njam/data
+ doins data/*
+
+ insinto ${GAMES_DATADIR}/njam/skins
+ doins skins/*
+
+ prepgamesdirs
+}