summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-10-29 21:50:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-10-29 21:50:21 +0000
commita67034efbcc1c885f7d1ab7046c09011160d9780 (patch)
tree7912312f33bb530e521bdab51e94abbe0263070f /games-strategy/lgeneral
parentFixed HOMEPAGE. Version bump. Updated esfq patch. Closes bug #110777. (diff)
downloadgentoo-2-a67034efbcc1c885f7d1ab7046c09011160d9780.tar.gz
gentoo-2-a67034efbcc1c885f7d1ab7046c09011160d9780.tar.bz2
gentoo-2-a67034efbcc1c885f7d1ab7046c09011160d9780.zip
version bump
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-strategy/lgeneral')
-rw-r--r--games-strategy/lgeneral/ChangeLog8
-rw-r--r--games-strategy/lgeneral/Manifest2
-rw-r--r--games-strategy/lgeneral/files/digest-lgeneral-1.2_beta82
-rw-r--r--games-strategy/lgeneral/lgeneral-1.2_beta8.ebuild58
4 files changed, 69 insertions, 1 deletions
diff --git a/games-strategy/lgeneral/ChangeLog b/games-strategy/lgeneral/ChangeLog
index bdcde2a18866..ecb81cfb11b6 100644
--- a/games-strategy/lgeneral/ChangeLog
+++ b/games-strategy/lgeneral/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/lgeneral
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.17 2005/10/18 03:55:33 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.18 2005/10/29 21:50:21 mr_bones_ Exp $
+
+*lgeneral-1.2_beta8 (29 Oct 2005)
+
+ 29 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +lgeneral-1.2_beta8.ebuild:
+ version bump
*lgeneral-1.2_beta7 (18 Oct 2005)
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest
index 484e38b77e56..9b1e0a245c20 100644
--- a/games-strategy/lgeneral/Manifest
+++ b/games-strategy/lgeneral/Manifest
@@ -1,3 +1,4 @@
+MD5 c407e1590daa8a5fb4ede173f7ca0f16 lgeneral-1.2_beta8.ebuild 1601
MD5 644dc305c000f4c42337ac9dba8a43f4 lgeneral-1.2_beta6.ebuild 1694
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 cca6898907a4441d1f2c7e1a76b6b585 lgeneral-1.2_beta2.ebuild 1481
@@ -12,5 +13,6 @@ MD5 5646809f30092dbfd35378661d2c0554 files/lgeneral-1.2_beta6-gcc3.patch 421
MD5 75e452fcd09e7f2a437b74ab63f8b175 files/digest-lgeneral-1.2_beta5 130
MD5 80df20a9e5cbef4c8d3d6cf6b5adc9a8 files/digest-lgeneral-1.2_beta6 130
MD5 a439ff98a9b35e8e232647449c5de2a0 files/digest-lgeneral-1.2_beta2 129
+MD5 f15a7bddef19b7788bc04b91a6164457 files/digest-lgeneral-1.2_beta8 130
MD5 9bd18133cff27a13ac0c62fe2ebeba33 files/digest-lgeneral-1.1.1-r1 138
MD5 2ed49392adca7517991f0115bf18bc5f files/1.2_beta6-gcc4.patch 841
diff --git a/games-strategy/lgeneral/files/digest-lgeneral-1.2_beta8 b/games-strategy/lgeneral/files/digest-lgeneral-1.2_beta8
new file mode 100644
index 000000000000..35528ef417db
--- /dev/null
+++ b/games-strategy/lgeneral/files/digest-lgeneral-1.2_beta8
@@ -0,0 +1,2 @@
+MD5 60dd2044c21ea15916a2c77a2bdf40cd lgeneral-1.2beta-8.tar.gz 1304148
+MD5 17b15c7cdd31547d061522d1e35da6e9 pg-data.tar.gz 410454
diff --git a/games-strategy/lgeneral/lgeneral-1.2_beta8.ebuild b/games-strategy/lgeneral/lgeneral-1.2_beta8.ebuild
new file mode 100644
index 000000000000..20b1095d9983
--- /dev/null
+++ b/games-strategy/lgeneral/lgeneral-1.2_beta8.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2_beta8.ebuild,v 1.1 2005/10/29 21:50:21 mr_bones_ Exp $
+
+inherit eutils games
+
+DATA=pg-data
+MY_P="${P/_/}"
+MY_P="${MY_P/beta/beta-}"
+DESCRIPTION="A Panzer General clone written in SDL"
+HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LGeneral"
+SRC_URI="mirror://sourceforge/lgeneral/${MY_P}.tar.gz
+ mirror://sourceforge/lgeneral/${DATA}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2.4
+ >=media-libs/sdl-mixer-1.2.3"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ # Build a temporary lgc-pg that knows about /var/tmp/portage in work/lgc-pg:
+ cp -pPR "${S}" "${WORKDIR}/lgc-pg" || die "cp failed."
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --datadir="${GAMES_DATADIR}/../" || die
+ emake || die "emake failed"
+
+ # Build the temporary lgc-pg:
+ cd "${WORKDIR}/lgc-pg"
+ egamesconf --datadir="${D}/${GAMES_DATADIR_BASE}" || die
+ cd lgc-pg
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ keepdir "${GAMES_DATADIR}/${PN}/"{ai_modules,music,terrain}
+
+ # Generate scenario data:
+ "${WORKDIR}/lgc-pg/lgc-pg/lgc-pg" \
+ -s "${WORKDIR}/${DATA}" \
+ -d "${D}/${GAMES_DATADIR}/lgeneral" \
+ || die "Failed to generate scenario data."
+
+ dodoc AUTHORS ChangeLog README.lgeneral README.lgc-pg TODO
+ newicon lgeneral48.png ${PN}.png
+ make_desktop_entry lgeneral LGeneral
+ prepgamesdirs
+}