summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-10-18 22:31:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-10-18 22:31:40 +0000
commitfe8de23b4495d3f408b103b19c743bc1a7f8f817 (patch)
treece4eb2df1b9b15ae325263791f3f4d6bc7f0bb46 /games-strategy/liquidwar
parent2.1.3.15 bump. This fixes bugs #196043 (clarification of when bugs should (diff)
downloadgentoo-2-fe8de23b4495d3f408b103b19c743bc1a7f8f817.tar.gz
gentoo-2-fe8de23b4495d3f408b103b19c743bc1a7f8f817.tar.bz2
gentoo-2-fe8de23b4495d3f408b103b19c743bc1a7f8f817.zip
version bump
(Portage version: 2.1.3.9)
Diffstat (limited to 'games-strategy/liquidwar')
-rw-r--r--games-strategy/liquidwar/ChangeLog8
-rw-r--r--games-strategy/liquidwar/files/digest-liquidwar-5.6.43
-rw-r--r--games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch27
-rw-r--r--games-strategy/liquidwar/liquidwar-5.6.4.ebuild56
4 files changed, 93 insertions, 1 deletions
diff --git a/games-strategy/liquidwar/ChangeLog b/games-strategy/liquidwar/ChangeLog
index 6d628fcbfe66..57b4a64c3813 100644
--- a/games-strategy/liquidwar/ChangeLog
+++ b/games-strategy/liquidwar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/liquidwar
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.18 2007/05/04 13:53:57 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.19 2007/10/18 22:31:39 mr_bones_ Exp $
+
+*liquidwar-5.6.4 (18 Oct 2007)
+
+ 18 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/liquidwar-5.6.4-exec-stack.patch, +liquidwar-5.6.4.ebuild:
+ version bump
04 May 2007; Steve Dibb <beandog@gentoo.org> liquidwar-5.6.3.ebuild:
amd64 stable, bug 175310
diff --git a/games-strategy/liquidwar/files/digest-liquidwar-5.6.4 b/games-strategy/liquidwar/files/digest-liquidwar-5.6.4
new file mode 100644
index 000000000000..d84a7f587095
--- /dev/null
+++ b/games-strategy/liquidwar/files/digest-liquidwar-5.6.4
@@ -0,0 +1,3 @@
+MD5 6917dd1026e6685404ffbd086f8ba374 liquidwar-5.6.4.tar.gz 3268432
+RMD160 991da4af05d1a8cf292faf23e9c06c1f7571672c liquidwar-5.6.4.tar.gz 3268432
+SHA256 32c52e4588e8e723f907ef43703b4ddf009e8ff1f29555c09bcc1f70bf5b93a3 liquidwar-5.6.4.tar.gz 3268432
diff --git a/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch b/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch
new file mode 100644
index 000000000000..83e733b28a05
--- /dev/null
+++ b/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch
@@ -0,0 +1,27 @@
+--- src/glouglou.s
++++ src/glouglou.s
+@@ -240,3 +240,6 @@
+
+ ret
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/monster.s
++++ src/monster.s
+@@ -972,3 +972,6 @@
+ ret # retour au c
+
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/spread.s
++++ src/spread.s
+@@ -957,3 +957,6 @@
+
+
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/games-strategy/liquidwar/liquidwar-5.6.4.ebuild b/games-strategy/liquidwar/liquidwar-5.6.4.ebuild
new file mode 100644
index 000000000000..de45923f8616
--- /dev/null
+++ b/games-strategy/liquidwar/liquidwar-5.6.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4.ebuild,v 1.1 2007/10/18 22:31:39 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="unique multiplayer wargame"
+HOMEPAGE="http://www.ufoot.org/liquidwar/"
+SRC_URI="http://savannah.nongnu.org/download/liquidwar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+RESTRICT="test"
+
+DEPEND=">=media-libs/allegro-4.2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-exec-stack.patch
+ sed -i \
+ -e 's:/games::' \
+ -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \
+ -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \
+ -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \
+ -e '/^INFODIR/ s/=.*/= $(infodir)/' \
+ -e '/^GAMEDIR/ s/exec_prefix/bindir/' \
+ -e '/install/s:-s ::' \
+ -e 's:$(DOCDIR)/txt:$(DOCDIR):g' \
+ -e 's:$(GMAKE):$(MAKE):' \
+ -e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(PF):' Makefile.in \
+ || die 'sed Makefile.in failed'
+ sed -i \
+ -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \
+ -e 's:/games::' src/Makefile.in \
+ || die "sed src/Makefile.in failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-doc-ps \
+ --disable-doc-pdf \
+ --disable-target-opt \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install_nolink || die "emake install failed"
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING
+ use nls || rm -f "${D}"/usr/share/doc/${PF}/README.*
+ prepalldocs
+ prepgamesdirs
+}