From 6050909e652749c79f4402c64b97109b6840f501 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 3 Dec 2003 21:46:30 +0000 Subject: ver bump #34857 --- games-strategy/attal/ChangeLog | 11 +++-- games-strategy/attal/attal-0.7.0.ebuild | 52 -------------------- games-strategy/attal/attal-0.7.1.ebuild | 68 +++++++++++++++++++++++++++ games-strategy/attal/files/digest-attal-0.7.0 | 2 - games-strategy/attal/files/digest-attal-0.7.1 | 2 + 5 files changed, 78 insertions(+), 57 deletions(-) delete mode 100644 games-strategy/attal/attal-0.7.0.ebuild create mode 100644 games-strategy/attal/attal-0.7.1.ebuild delete mode 100644 games-strategy/attal/files/digest-attal-0.7.0 create mode 100644 games-strategy/attal/files/digest-attal-0.7.1 diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog index a8d8a8d59054..4c3c154feb28 100644 --- a/games-strategy/attal/ChangeLog +++ b/games-strategy/attal/ChangeLog @@ -1,11 +1,16 @@ # ChangeLog for games-strategy/attal # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.2 2003/09/10 15:50:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.3 2003/12/03 21:46:30 vapier Exp $ - 26 Aug 2003; Michael Sterrett attal-0.7.0.ebuild: - fix url. bug 27378 +*attal-0.7.1 (03 Dec 2003) + + 03 Dec 2003; Mike Frysinger : + Version bump to fix #34857. *attal-0.7.0 (19 Jul 2003) + 26 Aug 2003; Michael Sterrett attal-0.7.0.ebuild: + Fix url #27378. + 19 Jul 2003; Mike Frysinger : Initial import. Ebuild submitted by me. diff --git a/games-strategy/attal/attal-0.7.0.ebuild b/games-strategy/attal/attal-0.7.0.ebuild deleted file mode 100644 index 46ca0cff9456..000000000000 --- a/games-strategy/attal/attal-0.7.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier 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}.bz2 - mirror://sourceforge/attal/themes-${PV}.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=x11-libs/qt-3*" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - tar -jxf ${DISTDIR}/${MY_P}.bz2 || die "unpacking src" - tar -jxf ${DISTDIR}/themes-${PV}.bz2 || die "unpacking themes" - cd ${S} - qmake -o Makefile Makefile.pro || die "making Makefile" - for lib in Client Common Fight Server ; do - sed -i \ - -e "/^TARGET/s:= ${lib}:= ${PN}${lib}:" lib${lib}/Makefile.pro \ - -e "s:lib${lib}\.so:lib${PN}${lib}.so:g" \ - -e "s:-l${lib}:-l${PN}${lib}:g" \ - */Makefile.pro || die "renaming ${lib}" - done - sed -i \ - "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \ - `grep -Rl '\./themes/' *` || die "fixing theme loc" -} - -src_compile() { - make || die -} - -src_install() { - exeinto ${GAMES_LIBDIR} - doexe lib*.so.{0,1} - dogamesbin attal-* - newgamesbin scenario-editor attal-scenario-editor - newgamesbin theme-editor attal-theme-editor - dodir ${GAMES_DATADIR}/${PN} - mv ${WORKDIR}/themes ${D}/${GAMES_DATADIR}/${PN}/ - dodoc AUTHORS NEWS README TODO - prepgamesdirs -} diff --git a/games-strategy/attal/attal-0.7.1.ebuild b/games-strategy/attal/attal-0.7.1.ebuild new file mode 100644 index 000000000000..83d02988771f --- /dev/null +++ b/games-strategy/attal/attal-0.7.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.1.ebuild,v 1.1 2003/12/03 21:46:30 vapier 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" + +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}:" lib${lib}/Makefile.pro \ + -e "s:lib${lib}\.so:lib${PN}${lib}.so:g" \ + -e "s:-l${lib}:-l${PN}${lib}:g" \ + */Makefile.pro \ + || die "renaming ${lib}" + done + sed -i \ + "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \ + `grep -Rl '\./themes/' *` \ + || die "fixing theme loc" + for dir in `find -name Makefile.pro -mindepth 2 -printf '%h '` ; do + cd ${S}/${dir} + ln -s Makefile.pro ${dir}.pro + done +} + +src_compile() { + emake -j1 \ + CFLAGS="${CFLAGS} -fPIC" \ + CXXFLAGS="${CXXFLAGS} -fPIC" \ + || die +} + +src_install() { + exeinto ${GAMES_LIBDIR} + local lib="" + local nlib="" + for lib in lib*.so.${PV} ; do + doexe ${lib} + nlib=${lib/.${PV}} + for v in ${PV//./ } ; do + dosym ${lib} ${GAMES_LIBDIR}/${nlib}.${v} + done + dosym ${lib} ${GAMES_LIBDIR}/${nlib} + done + dogamesbin attal-* + newgamesbin scenario-editor attal-scenario-editor + newgamesbin theme-editor attal-theme-editor + dodir ${GAMES_DATADIR}/${PN} + cp -r ${WORKDIR}/themes ${D}/${GAMES_DATADIR}/${PN}/ + dodoc AUTHORS NEWS README TODO + prepgamesdirs +} diff --git a/games-strategy/attal/files/digest-attal-0.7.0 b/games-strategy/attal/files/digest-attal-0.7.0 deleted file mode 100644 index 4f0440e32105..000000000000 --- a/games-strategy/attal/files/digest-attal-0.7.0 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1164cac3684578cc576ecaaa67dfedef attal-src-0.7.0.bz2 157457 -MD5 ff43bc07ee3fcecfd172fec59b379d47 themes-0.7.0.bz2 14371692 diff --git a/games-strategy/attal/files/digest-attal-0.7.1 b/games-strategy/attal/files/digest-attal-0.7.1 new file mode 100644 index 000000000000..a945aedc3e5e --- /dev/null +++ b/games-strategy/attal/files/digest-attal-0.7.1 @@ -0,0 +1,2 @@ +MD5 37ac140cf2bf9b847c3e73f06421ce59 attal-src-0.7.1.tar.bz2 173828 +MD5 cf834389b38097b086d3047ffc316f73 themes-0.7.1.tar.bz2 17214223 -- cgit v1.2.3-65-gdbad