summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-11-19 08:47:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-11-19 08:47:49 +0000
commitc45a4e1fed977ead7b2bd2942bd7298f6f226b69 (patch)
treeb0d54331cdfa986ed7c70904aa5a77868d6f36a9 /games-strategy/netpanzer
parentversion bump; mark stable; ebuild submitted by Matze Braun via bug 33551 (diff)
downloadhistorical-c45a4e1fed977ead7b2bd2942bd7298f6f226b69.tar.gz
historical-c45a4e1fed977ead7b2bd2942bd7298f6f226b69.tar.bz2
historical-c45a4e1fed977ead7b2bd2942bd7298f6f226b69.zip
version bump; mark stable; ebuild submitted by Matze Braun via bug 33551
Diffstat (limited to 'games-strategy/netpanzer')
-rw-r--r--games-strategy/netpanzer/Manifest5
-rw-r--r--games-strategy/netpanzer/files/digest-netpanzer-0.1.22
-rw-r--r--games-strategy/netpanzer/netpanzer-0.1.2.ebuild47
3 files changed, 51 insertions, 3 deletions
diff --git a/games-strategy/netpanzer/Manifest b/games-strategy/netpanzer/Manifest
index 11834e80f98d..5cedb4385119 100644
--- a/games-strategy/netpanzer/Manifest
+++ b/games-strategy/netpanzer/Manifest
@@ -1,7 +1,6 @@
MD5 4b46f95d12f6061c6110c0ea26bfd7c3 netpanzer-0.1.1.ebuild 1362
MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
-MD5 2e0c547a6196d31c6eac737bf071cb4e ChangeLog 408
-MD5 4471368faed5f0747931c510ee76c53b netpanzer-0.1.2.ebuild 1509
-MD5 845bf534428c971a36b91920aa3d0a9f attachment.cgi?id=20920 1507
+MD5 06670f63326970e367c50e752a6e632e ChangeLog 595
+MD5 a29b18eee374d2ef3cc853af3c88b2b0 netpanzer-0.1.2.ebuild 1509
MD5 445b8fd897674545f22a41398d72e1aa files/digest-netpanzer-0.1.1 139
MD5 645083cd556e0f9fbfcd8d3f235b0987 files/digest-netpanzer-0.1.2 141
diff --git a/games-strategy/netpanzer/files/digest-netpanzer-0.1.2 b/games-strategy/netpanzer/files/digest-netpanzer-0.1.2
new file mode 100644
index 000000000000..b84378b4131e
--- /dev/null
+++ b/games-strategy/netpanzer/files/digest-netpanzer-0.1.2
@@ -0,0 +1,2 @@
+MD5 9bc45c0d2353e09b88d30796d7a41288 netpanzer-0.1.2.tar.bz2 361745
+MD5 efaef5c6edc5cd6ed5cc6528ab9dcb4e netpanzerdata-0.1.2.tar.bz2 9813938
diff --git a/games-strategy/netpanzer/netpanzer-0.1.2.ebuild b/games-strategy/netpanzer/netpanzer-0.1.2.ebuild
new file mode 100644
index 000000000000..c1b927eae253
--- /dev/null
+++ b/games-strategy/netpanzer/netpanzer-0.1.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.1.2.ebuild,v 1.1 2003/11/19 08:47:47 mr_bones_ Exp $
+
+inherit games eutils
+
+DESCRIPTION="Fast-action multiplayer strategic network game"
+HOMEPAGE="http://www.nongnu.org/netpanzer/"
+DATAVERSION="0.1.2"
+SRC_URI="http://savannah.nongnu.org/download/netpanzer/netpanzer.pkg/0.1/netpanzer-${PV}.tar.bz2
+ http://savannah.nongnu.org/download/netpanzer/netpanzer.pkg/0.1/netpanzerdata-${DATAVERSION}.tar.bz2"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND=">=media-libs/libsdl-1.2.5
+ >=media-libs/sdl-net-1.2.4
+ >=media-libs/sdl-mixer-1.2.4
+ >=media-libs/sdl-image-1.2.3
+ >=dev-games/physfs-0.1.9
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ >=dev-util/jam-2.5"
+
+src_compile() {
+ egamesconf || die
+ jam || die "jam failed"
+
+ cd ${WORKDIR}/${PN}data-${DATAVERSION}/
+ egamesconf || die
+ jam || die "jam failed (on data package)"
+}
+
+src_install() {
+ # don't put a '/' between ${D} and ${GAMES_PREFIX} because of a jam bug
+ # (more than 3 continuos slashes don't work
+ jam -sprefix=${D}${GAMES_PREFIX} \
+ -sdatadir=${D}${GAMES_DATADIR} \
+ -smandir=${D}/usr/share/man install || die "jam install failed"
+
+ cd ${WORKDIR}/${PN}data-${DATAVERSION}/ &&
+ jam -sprefix=${D}${GAMES_PREFIX} \
+ -sdatadir=${D}${GAMES_DATADIR} \
+ -smandir=${D}/usr/share/man install || die "jam install failed (on data package)"
+ prepgamesdirs
+}