summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/attal/attal-0.9.4.ebuild')
-rw-r--r--games-strategy/attal/attal-0.9.4.ebuild62
1 files changed, 0 insertions, 62 deletions
diff --git a/games-strategy/attal/attal-0.9.4.ebuild b/games-strategy/attal/attal-0.9.4.ebuild
deleted file mode 100644
index 6654c069280e..000000000000
--- a/games-strategy/attal/attal-0.9.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.9.4.ebuild,v 1.5 2006/06/29 13:39:04 wolf31o2 Exp $
-
-inherit eutils flag-o-matic 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="~ppc ~x86"
-IUSE=""
-
-DEPEND="=x11-libs/qt-3*
- media-libs/libsdl
- media-libs/sdl-mixer"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}"-gcc41.patch
- sed -i \
- -e "s:\"\./:\"${GAMES_BINDIR}/:" \
- server/serverInterface.cpp \
- client/clientInterface.cpp \
- || die "sed failed"
- sed -i \
- -e "s:\"\./:\"${GAMES_DATADIR}/${PN}/:" \
- libCommon/displayHelp.cpp \
- || die "sed failed"
- "${QTDIR}"/bin/qmake QMAKE=${QTDIR}/bin/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 -name .cvsignore -print0 | xargs -0 rm -f
-}
-
-src_compile() {
- # broken deps in the makefiles ...
- emake sub-libCommon || die "emake sub-libCommon failed"
- emake sub-{libFight,libClient,libServer} || die "emake libs failed"
- emake || die "emake failed"
-}
-
-src_install() {
- dogamesbin attal-* || die "dogamesbin failed"
- into "${GAMES_PREFIX}"
- dolib.so lib*.so* || die "dolib.so failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins HOWTOPLAY.html
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${WORKDIR}"/themes/ || die "doins themes failed"
- dodoc AUTHORS NEWS README TODO
- prepgamesdirs
-}