diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-03 21:46:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-03 21:46:30 +0000 |
commit | 6050909e652749c79f4402c64b97109b6840f501 (patch) | |
tree | 6f281bd53509548e28af2f5d81804563cde34044 | |
parent | Version bump (diff) | |
download | gentoo-2-6050909e652749c79f4402c64b97109b6840f501.tar.gz gentoo-2-6050909e652749c79f4402c64b97109b6840f501.tar.bz2 gentoo-2-6050909e652749c79f4402c64b97109b6840f501.zip |
ver bump #34857
-rw-r--r-- | games-strategy/attal/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/attal/attal-0.7.1.ebuild (renamed from games-strategy/attal/attal-0.7.0.ebuild) | 38 | ||||
-rw-r--r-- | games-strategy/attal/files/digest-attal-0.7.0 | 2 | ||||
-rw-r--r-- | games-strategy/attal/files/digest-attal-0.7.1 | 2 |
4 files changed, 37 insertions, 16 deletions
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 <msterret@gentoo.org> attal-0.7.0.ebuild: - fix url. bug 27378 +*attal-0.7.1 (03 Dec 2003) + + 03 Dec 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump to fix #34857. *attal-0.7.0 (19 Jul 2003) + 26 Aug 2003; Michael Sterrett <msterret@gentoo.org> attal-0.7.0.ebuild: + Fix url #27378. + 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> : Initial import. Ebuild submitted by me. diff --git a/games-strategy/attal/attal-0.7.0.ebuild b/games-strategy/attal/attal-0.7.1.ebuild index 46ca0cff9456..83d02988771f 100644 --- a/games-strategy/attal/attal-0.7.0.ebuild +++ b/games-strategy/attal/attal-0.7.1.ebuild @@ -1,14 +1,14 @@ # 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 $ +# $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}.bz2 - mirror://sourceforge/attal/themes-${PV}.bz2" +SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2 + mirror://sourceforge/attal/themes-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" @@ -19,34 +19,50 @@ 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" + unpack ${A} 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}" + */Makefile.pro \ + || die "renaming ${lib}" done sed -i \ "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \ - `grep -Rl '\./themes/' *` || die "fixing theme loc" + `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() { - make || die + emake -j1 \ + CFLAGS="${CFLAGS} -fPIC" \ + CXXFLAGS="${CXXFLAGS} -fPIC" \ + || die } src_install() { exeinto ${GAMES_LIBDIR} - doexe lib*.so.{0,1} + 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} - mv ${WORKDIR}/themes ${D}/${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 |