diff options
author | 2005-01-03 22:56:05 +0000 | |
---|---|---|
committer | 2005-01-03 22:56:05 +0000 | |
commit | f83ef2eea93de0024c7c4b67d2f80dcb6cc345c5 (patch) | |
tree | de826d30531577d0ed25686d0e4ab419a8afe02a /games-strategy/attal/attal-0.9.2.ebuild | |
parent | Stable on amd64. (diff) | |
download | historical-f83ef2eea93de0024c7c4b67d2f80dcb6cc345c5.tar.gz historical-f83ef2eea93de0024c7c4b67d2f80dcb6cc345c5.tar.bz2 historical-f83ef2eea93de0024c7c4b67d2f80dcb6cc345c5.zip |
Version bump #65237 by James Rose.
Diffstat (limited to 'games-strategy/attal/attal-0.9.2.ebuild')
-rw-r--r-- | games-strategy/attal/attal-0.9.2.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
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 +} |