summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-11-01 04:50:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-11-01 04:50:41 +0000
commitf608047c986a6fd5693bc7f9d7e86bb9ad3efa80 (patch)
treef00de262c190333f90c4fa82c0de30fdbfdfe82e /games-strategy/attal
parentold (diff)
downloadhistorical-f608047c986a6fd5693bc7f9d7e86bb9ad3efa80.tar.gz
historical-f608047c986a6fd5693bc7f9d7e86bb9ad3efa80.tar.bz2
historical-f608047c986a6fd5693bc7f9d7e86bb9ad3efa80.zip
old
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-strategy/attal')
-rw-r--r--games-strategy/attal/attal-0.8.1.ebuild67
-rw-r--r--games-strategy/attal/attal-0.9.2.ebuild59
-rw-r--r--games-strategy/attal/files/digest-attal-0.8.12
-rw-r--r--games-strategy/attal/files/digest-attal-0.9.22
4 files changed, 0 insertions, 130 deletions
diff --git a/games-strategy/attal/attal-0.8.1.ebuild b/games-strategy/attal/attal-0.8.1.ebuild
deleted file mode 100644
index 5a9da01bfbce..000000000000
--- a/games-strategy/attal/attal-0.8.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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.9 2005/09/26 18:23:27 wolf31o2 Exp $
-
-inherit eutils 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 ~ppc"
-IUSE=""
-
-DEPEND="=x11-libs/qt-3*"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-gcc34.patch
- 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
- ${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 \
- CFLAGS="${CFLAGS} -fPIC" \
- CXXFLAGS="${CXXFLAGS} -fPIC" \
- sub-libCommon || die "emake sub-libCommon failed"
- emake \
- CFLAGS="${CFLAGS} -fPIC" \
- CXXFLAGS="${CXXFLAGS} -fPIC" \
- sub-{libFight,libClient,libServer} || die "emake libs failed"
- emake \
- CFLAGS="${CFLAGS} -fPIC" \
- CXXFLAGS="${CXXFLAGS} -fPIC" \
- || 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}"
- cp -r "${WORKDIR}/themes" "${D}/${GAMES_DATADIR}/${PN}/themes" \
- || die "cp failed"
- dodoc AUTHORS NEWS README TODO
- prepgamesdirs
-}
diff --git a/games-strategy/attal/attal-0.9.2.ebuild b/games-strategy/attal/attal-0.9.2.ebuild
deleted file mode 100644
index 9cde397cb465..000000000000
--- a/games-strategy/attal/attal-0.9.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# 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.6 2005/09/26 18:23:27 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*"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- ${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-${PV} -name .cvsignore -print0 | xargs -0 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.8.1 b/games-strategy/attal/files/digest-attal-0.8.1
deleted file mode 100644
index 636ede337d1d..000000000000
--- a/games-strategy/attal/files/digest-attal-0.8.1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 3fbef112e7b87a19baa77710d4873712 attal-src-0.8.1.tar.bz2 220476
-MD5 72f111089a1bb685ff630e921b45b56e themes-0.8.1.tar.bz2 22265571
diff --git a/games-strategy/attal/files/digest-attal-0.9.2 b/games-strategy/attal/files/digest-attal-0.9.2
deleted file mode 100644
index 81ce27b357b8..000000000000
--- a/games-strategy/attal/files/digest-attal-0.9.2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 42f1aa240fce700755a6182338d8ece8 attal-src-0.9.2.tar.bz2 256735
-MD5 f276f324882e41625bdb4f6f90e09617 themes-0.9.2.tar.bz2 27064203