summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-03 22:56:05 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-03 22:56:05 +0000
commit75a3ac9e3a35aaf8ae019903251df08b7c2f7385 (patch)
tree8118d3f62e02d4d215d3558066862105d69797c1 /games-strategy/attal
parentChange DEPEND to RDEPEND, stop IUSE gnome, start IUSE gtk, change RDEPEND for... (diff)
downloadgentoo-2-75a3ac9e3a35aaf8ae019903251df08b7c2f7385.tar.gz
gentoo-2-75a3ac9e3a35aaf8ae019903251df08b7c2f7385.tar.bz2
gentoo-2-75a3ac9e3a35aaf8ae019903251df08b7c2f7385.zip
Version bump #65237 by James Rose.
Diffstat (limited to 'games-strategy/attal')
-rw-r--r--games-strategy/attal/ChangeLog9
-rw-r--r--games-strategy/attal/attal-0.8.1.ebuild4
-rw-r--r--games-strategy/attal/attal-0.9.2.ebuild59
-rw-r--r--games-strategy/attal/files/digest-attal-0.9.22
4 files changed, 70 insertions, 4 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog
index 3ad9a3cdd914..5de20e0ac6c4 100644
--- a/games-strategy/attal/ChangeLog
+++ b/games-strategy/attal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/attal
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.7 2004/07/16 09:21:55 dholm Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.8 2005/01/03 22:56:05 vapier Exp $
+
+*attal-0.9.2 (03 Jan 2005)
+
+ 03 Jan 2005; Mike Frysinger <vapier@gentoo.org> +attal-0.9.2.ebuild:
+ Version bump #65237 by James Rose.
16 Jul 2004; David Holm <dholm@gentoo.org> attal-0.8.1.ebuild:
Added to ~ppc.
diff --git a/games-strategy/attal/attal-0.8.1.ebuild b/games-strategy/attal/attal-0.8.1.ebuild
index 4c9f531b80e6..afa14c114453 100644
--- a/games-strategy/attal/attal-0.8.1.ebuild
+++ b/games-strategy/attal/attal-0.8.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.8.1.ebuild,v 1.3 2004/07/16 09:21:55 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.8.1.ebuild,v 1.4 2005/01/03 22:56:05 vapier Exp $
inherit games eutils
diff --git a/games-strategy/attal/attal-0.9.2.ebuild b/games-strategy/attal/attal-0.9.2.ebuild
new file mode 100644
index 000000000000..36897bcf1af6
--- /dev/null
+++ b/games-strategy/attal/attal-0.9.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.9.2.ebuild,v 1.1 2005/01/03 22:56:05 vapier Exp $
+
+inherit games eutils flag-o-matic
+
+MY_P="${PN}-src-${PV}"
+DESCRIPTION="turn-based strategy game project"
+HOMEPAGE="http://www.attal-thegame.org/"
+SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2
+ mirror://sourceforge/attal/themes-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc x86"
+IUSE=""
+
+DEPEND=">=x11-libs/qt-3*"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ qmake -o Makefile Makefile.pro || die "qmake failed"
+ sed -i \
+ "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
+ `grep -Rl '\./themes/' *` \
+ || die "fixing theme loc"
+ find "${WORKDIR}"/themes-${PV} -name .cvsignore | xargs rm -f
+}
+
+src_compile() {
+ # broken deps in the makefiles ...
+ append-flags -fPIC
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ sub-libCommon || die "emake sub-libCommon failed"
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ sub-{libFight,libClient,libServer} || die "emake libs failed"
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin attal-* || die "dogamesbin failed"
+ into "${GAMES_PREFIX}"
+ dolib.so lib*.so* || die "dolib.so failed"
+ dodir "${GAMES_DATADIR}"/${PN}
+ insinto "${GAMES_DATADIR}"/${PN}/themes
+ doins -r "${WORKDIR}"/themes-${PV}/* || die "doins themes failed"
+ dodoc AUTHORS NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/attal/files/digest-attal-0.9.2 b/games-strategy/attal/files/digest-attal-0.9.2
new file mode 100644
index 000000000000..81ce27b357b8
--- /dev/null
+++ b/games-strategy/attal/files/digest-attal-0.9.2
@@ -0,0 +1,2 @@
+MD5 42f1aa240fce700755a6182338d8ece8 attal-src-0.9.2.tar.bz2 256735
+MD5 f276f324882e41625bdb4f6f90e09617 themes-0.9.2.tar.bz2 27064203