summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2014-10-13 22:39:55 +0200
committerAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2014-10-13 22:39:55 +0200
commit5f2e9b7e9f7e84c118d3d3d9b8e33131af672b19 (patch)
tree4641c9115270bbd69d624a829700e44187cacd58
parent+radare2-0.9.7.ebuild (diff)
downloadaluco-5f2e9b7e9f7e84c118d3d3d9b8e33131af672b19.tar.gz
aluco-5f2e9b7e9f7e84c118d3d3d9b8e33131af672b19.tar.bz2
aluco-5f2e9b7e9f7e84c118d3d3d9b8e33131af672b19.zip
+corewars-0.9.13-r1.ebuild
With gtk2 patch.
-rw-r--r--games-simulation/corewars/Manifest5
-rw-r--r--games-simulation/corewars/corewars-0.9.13-r1.ebuild31
-rw-r--r--games-simulation/corewars/files/0.9.13-corewars-lm.patch12
-rw-r--r--games-simulation/corewars/metadata.xml16
4 files changed, 64 insertions, 0 deletions
diff --git a/games-simulation/corewars/Manifest b/games-simulation/corewars/Manifest
new file mode 100644
index 0000000..661f42e
--- /dev/null
+++ b/games-simulation/corewars/Manifest
@@ -0,0 +1,5 @@
+AUX 0.9.13-corewars-lm.patch 505 SHA256 64efb9a0fa42e8b0b3083f1ab7089ba0ac4bde286a94c99a031b4cc7a9598990 SHA512 52cc803c940f527b200f745d9bacde707a64a071758d1a72b94a86201e76972452c54d1400e9ca867dbffb47750f5e75d8b7e86b1cd2d93c8749226365000bf8 WHIRLPOOL 5993285be9f3420dce9a3ac8382bbfd3a70bc2f98e2628a0360c5e795503dd29306ab88d18744219f5bfe3eb73eb6aa37d7fc15325be09a5d2409f6fa20ed85d
+DIST corewars-0.9.13.tar.gz 203874 SHA256 23957e620e3bbee265c3eb878752caf5d4186428e361af79a3373a698010f6e2 SHA512 fe4194ac5efa7612a06d80c1218740de17a6dae6228f5e603074ab296f4a195adc68c0d8db5bbc9588947a536a9cfc208b411b024163adfe1cda072d05dd6a71 WHIRLPOOL 54ec2c2efe9e5684528bfa9f7c56343ea2c4644426156b5571127b5e64a5e618e51f367a913c836127a89007acd641e844aafc5571627cee07efd6c4ccb724c1
+DIST corewars-gtk2.patch.gz 91741 SHA256 9d269752344ef9c913e57f04c9c5d47f788c585755dbe3050abab50d05738b30 SHA512 e70329bf19a958b53d4bea607d1bb2b7fd8ad423168aef6d92ced42ca73872bb1eb3aa59afaaab185996b41a2b6716096a7a87a6b81df156a0879906e6d45411 WHIRLPOOL 9208a30c72b6c21bfbfdffe63783ff7c792dc3427dc6fc664106492abf41cfe507e2966cffa36351c0bdab36f7bdec7806cc69f27ba990892d6e9bc2372fdb30
+EBUILD corewars-0.9.13-r1.ebuild 895 SHA256 c8a8e77df4ab9071583cf8d60685ec672aad33241c673a67b442297f1040c294 SHA512 402d9a44898bfb5e2de9eb1a6ebe4acce0d4f21545ce8a89f3cceaa2b5ec816807c33cca05373f0091695c4da3d21d240387c2eea4bc98d747e2931f497c54f8 WHIRLPOOL c271ad3b1bdf6ea4715a04b5c229422dc563c3c0bb84178aab75ceee5c6a7f19fc03dfa4e4906ab1f3628dd23e9239009a6c9fe729ad732c9b9b63923d9ebf90
+MISC metadata.xml 585 SHA256 53f76cd0bc11057c80057a1d2c8106a21c1f116f20a7d486ee8a515d74ce4e05 SHA512 990f2dc41460ab05393f2af4725a8bafb957d6745a42bdc467d5c96e72d4c8b0a8a4fdcd511d9dca69afb549100b18fe0868a2def77b23be8da4aaa5c03bb099 WHIRLPOOL 332f85a42274019925fc50bf510689d387926317396d2966d0e48d6f03283d92dae2e765fe879fe193fa9887a762adc1a91e5fef38bef032fd53f696f66ebe14
diff --git a/games-simulation/corewars/corewars-0.9.13-r1.ebuild b/games-simulation/corewars/corewars-0.9.13-r1.ebuild
new file mode 100644
index 0000000..33b1342
--- /dev/null
+++ b/games-simulation/corewars/corewars-0.9.13-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/corewars/corewars-0.9.13-r1.ebuild,v 1.7 2006/02/22 21:53:28 tupone Exp $
+
+EAPI="5"
+
+inherit games
+
+DESCRIPTION="Simulation game involving virtual machine code"
+HOMEPAGE="http://corewars.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ http://sourceforge.net/p/corewars/patches/_discuss/thread/947a192c/b4cd/attachment/${PN}-gtk2.patch.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2:2"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${DISTDIR}"/${PN}-gtk2.patch.gz
+ epatch "${FILESDIR}"/${PV}-corewars-lm.patch
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog README doc/{TODO,DIFFERENCES,INTERESTING-COMBINATIONS}
+ prepgamesdirs
+}
diff --git a/games-simulation/corewars/files/0.9.13-corewars-lm.patch b/games-simulation/corewars/files/0.9.13-corewars-lm.patch
new file mode 100644
index 0000000..2bedfe1
--- /dev/null
+++ b/games-simulation/corewars/files/0.9.13-corewars-lm.patch
@@ -0,0 +1,12 @@
+diff -Npur corewars-0.9.13.orig/configure.ac corewars-0.9.13/configure.ac
+--- corewars-0.9.13.orig/configure.ac 2014-10-13 21:14:24.986941709 +0200
++++ corewars-0.9.13/configure.ac 2014-10-13 21:21:02.827976130 +0200
+@@ -49,7 +49,7 @@ AM_PATH_GTK_2_0(2.0.0,,COREWARS=;AC_MSG_
+ ************************************************************************
+ ]))
+
+-LIBS="$LIBS $GTK_LIBS"
++LIBS="$LIBS $GTK_LIBS -lm"
+ dnl GTK_INCLUDE=`gtk-config --cflags`
+ AC_SUBST(INCLUDES)
+ INCLUDES="$INCLUDES $GTK_CFLAGS"
diff --git a/games-simulation/corewars/metadata.xml b/games-simulation/corewars/metadata.xml
new file mode 100644
index 0000000..b8675c6
--- /dev/null
+++ b/games-simulation/corewars/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>anthoine.bourgeois@gmail.com</email>
+ <name>Anthoine Bourgeois</name>
+ <description>aluco's overlay maintainer</description>
+ </maintainer>
+ <longdescription>
+ Corewars is a simulation game where a number of programs try to crash
+ each other. Corewars comes with a graphical user interface (GTK+) to
+ display the running programs and statistics. Redcode is supported as
+ well.
+ </longdescription>
+</pkgmetadata>