diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 03:01:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 03:01:12 +0000 |
commit | 1a7b4601930002895ab7879725f30814dca33a6b (patch) | |
tree | 13fc73a9d8e12748a64689947a700cb0c0259c60 /games-strategy | |
parent | Added ~sparc keyword. (Manifest recommit) (diff) | |
download | gentoo-2-1a7b4601930002895ab7879725f30814dca33a6b.tar.gz gentoo-2-1a7b4601930002895ab7879725f30814dca33a6b.tar.bz2 gentoo-2-1a7b4601930002895ab7879725f30814dca33a6b.zip |
version bump (bug #56495)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/attal/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/attal/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/attal/attal-0.8.1.ebuild | 66 | ||||
-rw-r--r-- | games-strategy/attal/files/digest-attal-0.8.1 | 2 |
4 files changed, 77 insertions, 2 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog index 114cba498e3c..41e182f4998b 100644 --- a/games-strategy/attal/ChangeLog +++ b/games-strategy/attal/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-strategy/attal # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.5 2004/06/24 23:26:06 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.6 2004/07/10 03:01:12 mr_bones_ Exp $ + +*attal-0.8.1 (09 Jul 2004) + + 09 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> +attal-0.8.1.ebuild: + version bump (bug #56495) *attal-0.7.2 (14 Jan 2004) diff --git a/games-strategy/attal/Manifest b/games-strategy/attal/Manifest index 98609fb9a0fc..e90fe3da27f4 100644 --- a/games-strategy/attal/Manifest +++ b/games-strategy/attal/Manifest @@ -1,4 +1,6 @@ -MD5 1e855a92fd714a0763ca6ede2ff89491 attal-0.7.2.ebuild 1621 MD5 64c7e46969a9ccf763e713e328be2415 ChangeLog 664 +MD5 1e855a92fd714a0763ca6ede2ff89491 attal-0.8.1.ebuild 1621 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 1e855a92fd714a0763ca6ede2ff89491 attal-0.7.2.ebuild 1621 +MD5 6df2fe25a4131a625a23b8d59a92ee76 files/digest-attal-0.8.1 135 MD5 b6f808586a9be2641f19b2cfe2cbf02b files/digest-attal-0.7.2 135 diff --git a/games-strategy/attal/attal-0.8.1.ebuild b/games-strategy/attal/attal-0.8.1.ebuild new file mode 100644 index 000000000000..cacb3f9e44ef --- /dev/null +++ b/games-strategy/attal/attal-0.8.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2004 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.1 2004/07/10 03:01:12 mr_bones_ 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" +IUSE="" + +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" + find "${WORKDIR}/themes" -name .cvsignore -exec 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/files/digest-attal-0.8.1 b/games-strategy/attal/files/digest-attal-0.8.1 new file mode 100644 index 000000000000..636ede337d1d --- /dev/null +++ b/games-strategy/attal/files/digest-attal-0.8.1 @@ -0,0 +1,2 @@ +MD5 3fbef112e7b87a19baa77710d4873712 attal-src-0.8.1.tar.bz2 220476 +MD5 72f111089a1bb685ff630e921b45b56e themes-0.8.1.tar.bz2 22265571 |