summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r--games-strategy/hedgewars/ChangeLog8
-rw-r--r--games-strategy/hedgewars/Manifest4
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.0.ebuild39
-rw-r--r--games-strategy/hedgewars/metadata.xml5
4 files changed, 56 insertions, 0 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog
new file mode 100644
index 000000000..54e8f5113
--- /dev/null
+++ b/games-strategy/hedgewars/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-strategy/hedgewars
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 10 Mar 2007; Displacer <disinbox@gmail.com> +hedgewars-0.9.0.ebuild,
+ +metadata.xml:
+ New Ebuild for bug 155872 thanks to jokey and sinrise team
+
diff --git a/games-strategy/hedgewars/Manifest b/games-strategy/hedgewars/Manifest
new file mode 100644
index 000000000..d62e8c140
--- /dev/null
+++ b/games-strategy/hedgewars/Manifest
@@ -0,0 +1,4 @@
+DIST hedgewars-src-0.9.0.tar.bz2 4549192 RMD160 2e405c99aaabdb8a4fae153967d60d16c08f3bd8 SHA1 3832c0843f9a1b60fed6ed4cacc8693d5c9950b0 SHA256 6b05a76e1be016de10967ced5d3a4104840b3162055bccee7e0f28a1966989d5
+EBUILD hedgewars-0.9.0.ebuild 850 RMD160 c6bf3f706bb802c765d58b03d41074dfab39c821 SHA1 03f49e87bd94d36e82a6b78339441da60bc71f64 SHA256 9c12d9cbe60f72465f0badedf0cd0449bae9e6f51dc6741c9047d14e580a5a30
+MISC ChangeLog 275 RMD160 fe33238010d62aa0df4f262b87c5aa44ec556883 SHA1 71a4baf99af0707d7fa82709e140114d338ace4d SHA256 f2fa343f71050ced603b1906f0f8d4e633a6698f5f44895fc1215612a2780467
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/games-strategy/hedgewars/hedgewars-0.9.0.ebuild b/games-strategy/hedgewars/hedgewars-0.9.0.ebuild
new file mode 100644
index 000000000..88fefdc9c
--- /dev/null
+++ b/games-strategy/hedgewars/hedgewars-0.9.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit qt4 games
+
+DESCRIPTION="Free Worms-like turn based strategy game"
+SRC_URI="http://hedgewars.org/download/${PN}-src-${PV}.tar.bz2"
+
+HOMEPAGE="http://hedgewars.org/"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=dev-util/cmake-2.4.0
+ $(qt4_min_version 4.2)
+ >=dev-lang/fpc-1.9.4
+ media-libs/libsdl
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-net"
+
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ cmake -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \
+ -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \
+ . || die "cmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepgamesdirs
+}
diff --git a/games-strategy/hedgewars/metadata.xml b/games-strategy/hedgewars/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/games-strategy/hedgewars/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>