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 | 0b20f274a78c2c4298acd8422a357148e3e497a4 (patch) | |
tree | c13b3ce8fa7d9f449c6b13a49b74a9d1c1de79ce /games-strategy | |
parent | Added ~sparc keyword. (diff) | |
download | historical-0b20f274a78c2c4298acd8422a357148e3e497a4.tar.gz historical-0b20f274a78c2c4298acd8422a357148e3e497a4.tar.bz2 historical-0b20f274a78c2c4298acd8422a357148e3e497a4.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 | 6 | ||||
-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, 78 insertions, 3 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..3b04cde4e9aa 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 fe0724690ed156167ba2f109f3c0ea3f ChangeLog 798 +MD5 d49889ffa1c1eb26f86b9914e0b34ce9 attal-0.8.1.ebuild 1767 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 |