summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 05:27:31 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 05:27:31 +0000
commit0c0186e57f9c188f3c71c04a35825c8e134cf141 (patch)
tree764612f703bdba5335d790064606b1f53a330c24 /games-strategy/attal
parentminor version update. resolves bug 27641 (diff)
downloadgentoo-2-0c0186e57f9c188f3c71c04a35825c8e134cf141.tar.gz
gentoo-2-0c0186e57f9c188f3c71c04a35825c8e134cf141.tar.bz2
gentoo-2-0c0186e57f9c188f3c71c04a35825c8e134cf141.zip
mmm strategy games
Diffstat (limited to 'games-strategy/attal')
-rw-r--r--games-strategy/attal/ChangeLog11
-rw-r--r--games-strategy/attal/Manifest3
-rw-r--r--games-strategy/attal/attal-0.7.0.ebuild52
-rw-r--r--games-strategy/attal/files/digest-attal-0.7.02
4 files changed, 68 insertions, 0 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog
new file mode 100644
index 000000000000..b60ec0b2d255
--- /dev/null
+++ b/games-strategy/attal/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/attal
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+ 26 Aug 2003; Michael Sterrett <msterret@gentoo.org> attal-0.7.0.ebuild:
+ fix url. bug 27378
+
+*attal-0.7.0 (19 Jul 2003)
+
+ 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-strategy/attal/Manifest b/games-strategy/attal/Manifest
new file mode 100644
index 000000000000..ca1296d4d7fe
--- /dev/null
+++ b/games-strategy/attal/Manifest
@@ -0,0 +1,3 @@
+MD5 b7d66da20c93fca142b8de691a5a6576 ChangeLog 433
+MD5 6e10ee81c5c86bd6d9c22d70e1d206da attal-0.7.0.ebuild 1451
+MD5 7545ac2d3b584f67ba1cb78345fb50db files/digest-attal-0.7.0 127
diff --git a/games-strategy/attal/attal-0.7.0.ebuild b/games-strategy/attal/attal-0.7.0.ebuild
new file mode 100644
index 000000000000..46ca0cff9456
--- /dev/null
+++ b/games-strategy/attal/attal-0.7.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="turn-based strategy game project"
+HOMEPAGE="http://www.attal-thegame.org/"
+SRC_URI="mirror://sourceforge/attal/${MY_P}.bz2
+ mirror://sourceforge/attal/themes-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=x11-libs/qt-3*"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ tar -jxf ${DISTDIR}/${MY_P}.bz2 || die "unpacking src"
+ tar -jxf ${DISTDIR}/themes-${PV}.bz2 || die "unpacking themes"
+ cd ${S}
+ qmake -o Makefile Makefile.pro || die "making Makefile"
+ for lib in Client Common Fight Server ; do
+ sed -i \
+ -e "/^TARGET/s:= ${lib}:= ${PN}${lib}:" lib${lib}/Makefile.pro \
+ -e "s:lib${lib}\.so:lib${PN}${lib}.so:g" \
+ -e "s:-l${lib}:-l${PN}${lib}:g" \
+ */Makefile.pro || die "renaming ${lib}"
+ done
+ sed -i \
+ "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
+ `grep -Rl '\./themes/' *` || die "fixing theme loc"
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}
+ doexe lib*.so.{0,1}
+ dogamesbin attal-*
+ newgamesbin scenario-editor attal-scenario-editor
+ newgamesbin theme-editor attal-theme-editor
+ dodir ${GAMES_DATADIR}/${PN}
+ mv ${WORKDIR}/themes ${D}/${GAMES_DATADIR}/${PN}/
+ dodoc AUTHORS NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/attal/files/digest-attal-0.7.0 b/games-strategy/attal/files/digest-attal-0.7.0
new file mode 100644
index 000000000000..4f0440e32105
--- /dev/null
+++ b/games-strategy/attal/files/digest-attal-0.7.0
@@ -0,0 +1,2 @@
+MD5 1164cac3684578cc576ecaaa67dfedef attal-src-0.7.0.bz2 157457
+MD5 ff43bc07ee3fcecfd172fec59b379d47 themes-0.7.0.bz2 14371692