summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-14 19:44:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-14 19:44:29 +0000
commit6399e37fc3d28c1c0cce40cc3482a66af27c3f2c (patch)
treee8f6e3db914ca7449730a22d6d6294ec652d6f51 /games-strategy
parentMassive cleanup. Remove unused files. Consolidate some other files. Add metad... (diff)
downloadgentoo-2-6399e37fc3d28c1c0cce40cc3482a66af27c3f2c.tar.gz
gentoo-2-6399e37fc3d28c1c0cce40cc3482a66af27c3f2c.tar.bz2
gentoo-2-6399e37fc3d28c1c0cce40cc3482a66af27c3f2c.zip
ver bump #37754
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/attal/ChangeLog7
-rw-r--r--games-strategy/attal/attal-0.7.2.ebuild65
-rw-r--r--games-strategy/attal/files/digest-attal-0.7.22
3 files changed, 73 insertions, 1 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog
index 4c3c154feb28..6b1bffdf765b 100644
--- a/games-strategy/attal/ChangeLog
+++ b/games-strategy/attal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/attal
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.3 2003/12/03 21:46:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.4 2004/01/14 19:44:29 vapier Exp $
+
+*attal-0.7.2 (14 Jan 2004)
+
+ 14 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #37754 by Daniel Fullmer.
*attal-0.7.1 (03 Dec 2003)
diff --git a/games-strategy/attal/attal-0.7.2.ebuild b/games-strategy/attal/attal-0.7.2.ebuild
new file mode 100644
index 000000000000..e8963f6f8438
--- /dev/null
+++ b/games-strategy/attal/attal-0.7.2.ebuild
@@ -0,0 +1,65 @@
+# 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.2.ebuild,v 1.1 2004/01/14 19:44:29 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}.tar.bz2
+ mirror://sourceforge/attal/themes-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=x11-libs/qt-3*"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ for lib in Client Common Fight Server ; do
+ sed -i \
+ -e "/^TARGET/s:= ${lib}:= ${PN}${lib}:" \
+ -e "s:lib${lib}\.so:lib${PN}${lib}.so:g" \
+ -e "s:-l${lib}:-l${PN}${lib}:g" \
+ */*.pro \
+ || die "renaming ${lib}"
+ done
+ qmake -o Makefile Makefile.pro || die "qmake failed"
+ sed -i \
+ "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
+ `grep -Rl '\./themes/' *` \
+ || die "fixing theme loc"
+}
+
+src_compile() {
+ emake -j1 \
+ CFLAGS="${CFLAGS} -fPIC" \
+ CXXFLAGS="${CXXFLAGS} -fPIC" \
+ || die
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}
+ local lib=""
+ local nlib=""
+ for lib in lib*.so.${PV} ; do
+ doexe ${lib}
+ nlib=${lib/.${PV}}
+ for v in ${PV//./ } ; do
+ dosym ${lib} ${GAMES_LIBDIR}/${nlib}.${v}
+ done
+ dosym ${lib} ${GAMES_LIBDIR}/${nlib}
+ done
+ dogamesbin attal-*
+ newgamesbin scenario-editor attal-scenario-editor
+ newgamesbin theme-editor attal-theme-editor
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -r ${WORKDIR}/themes-${PV} ${D}/${GAMES_DATADIR}/${PN}/themes
+ dodoc AUTHORS NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/attal/files/digest-attal-0.7.2 b/games-strategy/attal/files/digest-attal-0.7.2
new file mode 100644
index 000000000000..402882a1286e
--- /dev/null
+++ b/games-strategy/attal/files/digest-attal-0.7.2
@@ -0,0 +1,2 @@
+MD5 bd33c35d54af3496def713634fff7eab attal-src-0.7.2.tar.bz2 187771
+MD5 b943b47d5fa4080d5d10bbf90c595387 themes-0.7.2.tar.bz2 20413251