summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/corewars')
-rw-r--r--games-simulation/corewars/Manifest3
-rw-r--r--games-simulation/corewars/corewars-0.9.13-r1.ebuild10
2 files changed, 10 insertions, 3 deletions
diff --git a/games-simulation/corewars/Manifest b/games-simulation/corewars/Manifest
index 661f42e..9119962 100644
--- a/games-simulation/corewars/Manifest
+++ b/games-simulation/corewars/Manifest
@@ -1,5 +1,6 @@
AUX 0.9.13-corewars-lm.patch 505 SHA256 64efb9a0fa42e8b0b3083f1ab7089ba0ac4bde286a94c99a031b4cc7a9598990 SHA512 52cc803c940f527b200f745d9bacde707a64a071758d1a72b94a86201e76972452c54d1400e9ca867dbffb47750f5e75d8b7e86b1cd2d93c8749226365000bf8 WHIRLPOOL 5993285be9f3420dce9a3ac8382bbfd3a70bc2f98e2628a0360c5e795503dd29306ab88d18744219f5bfe3eb73eb6aa37d7fc15325be09a5d2409f6fa20ed85d
+AUX reroute.cw 517 SHA256 b4a17d0179f9bf9be995c24c895cf48bb82c4ee26c741c6e88b64a903b0ace67 SHA512 c06d5130c05b76c53e4eb4c99be6f03fc60f814f809f6f18cc7e7a27ce6593cd476eb607239fe05a25d30a73b837814fa79e255cc26ea97f6e498b1525401255 WHIRLPOOL f5401b64f3107f158f55b6c02d2e9abc2024ff3b0fc545a5492885fb2b876e82899e01ef08f9393c63d6a99aea6e91bc20619bdce472aa739e981ba433a07d2e
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
+EBUILD corewars-0.9.13-r1.ebuild 982 SHA256 67c9c47020b7fb542702a2ed5e4225976d8e6a3d00094860b045bdfefed02a01 SHA512 fa654145ae564ef0f14dd2f0019e55b2f77ff9235df841392d3bd1f3e16d08491a0cf10ee436d8a6a6a0f4540ad52fc2f47ec01659457fcb0b665e228b7905e3 WHIRLPOOL cb157888eb1888b9e8736bd9e94ab0d1bbf6af70b7a21bc5a3aed204f8f9966ee861448f9d22cb4c2baaa69de577a58e190e7b79482244f1812c0a3b62bb74ac
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
index 33b1342..552d250 100644
--- a/games-simulation/corewars/corewars-0.9.13-r1.ebuild
+++ b/games-simulation/corewars/corewars-0.9.13-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="5"
-inherit games
+inherit autotools games
DESCRIPTION="Simulation game involving virtual machine code"
HOMEPAGE="http://corewars.sourceforge.net/"
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="debug"
RDEPEND=">=x11-libs/gtk+-2:2"
DEPEND="${RDEPEND}"
@@ -22,6 +22,12 @@ DEPEND="${RDEPEND}"
src_prepare() {
epatch "${DISTDIR}"/${PN}-gtk2.patch.gz
epatch "${FILESDIR}"/${PV}-corewars-lm.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug gcc-debug)
}
src_install() {