diff options
author | Anthoine Bourgeois <anthoine.bourgeois@gmail.com> | 2011-12-20 18:52:31 +0100 |
---|---|---|
committer | Anthoine Bourgeois <anthoine.bourgeois@gmail.com> | 2011-12-20 18:52:31 +0100 |
commit | cb56a7ab5cae20df53bf2b1a0acd8a6df95e2ec9 (patch) | |
tree | 41c5c34838b54c520d27a042e0966a6292fddb5b | |
parent | phoronix-test-suite-3.6.0.ebuild: Fix pecl-ps dependency. (diff) | |
download | aluco-cb56a7ab5cae20df53bf2b1a0acd8a6df95e2ec9.tar.gz aluco-cb56a7ab5cae20df53bf2b1a0acd8a6df95e2ec9.tar.bz2 aluco-cb56a7ab5cae20df53bf2b1a0acd8a6df95e2ec9.zip |
+genetic-invasion-0.5.ebuild
-rw-r--r-- | games-strategy/genetic-invasion/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/genetic-invasion/genetic-invasion-0.5.ebuild | 53 |
2 files changed, 55 insertions, 2 deletions
diff --git a/games-strategy/genetic-invasion/Manifest b/games-strategy/genetic-invasion/Manifest index 5ad8bca..f022624 100644 --- a/games-strategy/genetic-invasion/Manifest +++ b/games-strategy/genetic-invasion/Manifest @@ -1,7 +1,7 @@ DIST genetic-invasion-v0.4.1.zip 80231935 RMD160 297fedf5d07d01161f23b665c9d8c527e5e70c28 SHA1 048133fd6961b9ffe629423931d9a2a4c269f96c SHA256 bcaab161e7da4f68fb7ed3619b4dbb468b16aa139c8a137023de0c5460d2fa3e DIST genetic-invasion-v0.4.5.1.zip 82141015 RMD160 b0a36c98dada0b41ed0b4dfbc28e60b4b6a34cde SHA1 a283342a922c467f9b06cc32c5342b8ae6232444 SHA256 08f452185007e170d12083065034e5213a98bc1de20dbc1ce6b9e45620493f49 +DIST genetic-invasion-v0.5.zip 82154470 RMD160 dd83f0267f6ba6f73d2a635b78da46aa3aa952f3 SHA1 243b1c3759bd9d437681ff87f5316b8ee55743c0 SHA256 af45902a652f626ee39f96293ed306a14b639105212bde0d7b727059e6a91ed9 EBUILD genetic-invasion-0.4.1.ebuild 1311 RMD160 4f962547a18248c98988417fff0380a0e114f567 SHA1 03852819367d0a0c19328fdf6a98bf0d2b46504f SHA256 453ffdced8a262e6d4e33554d077e2133cf9d3d1a732d6afe48b12a2ab0a496a EBUILD genetic-invasion-0.4.5.1.ebuild 1311 RMD160 4f962547a18248c98988417fff0380a0e114f567 SHA1 03852819367d0a0c19328fdf6a98bf0d2b46504f SHA256 453ffdced8a262e6d4e33554d077e2133cf9d3d1a732d6afe48b12a2ab0a496a -MISC genetic-invasion-v0.4.5.1.zip 15059200 RMD160 4eaf17e92f276a45ccd60a016a412232d6bb6235 SHA1 d882e4265472558b3e75f2c63405f8bd39edaa38 SHA256 af518997e26e038961cffdfb8f2d3312d7076ca7a47fd38428f3864d4c14bca9 -MISC index.html 5744107 RMD160 5dceb9363f203fe3f020addc9e9bfccf5a6970bc SHA1 3cf597a94e6ecfd3f16ad6cd78c59b3fc735b54c SHA256 c1dc075ca0809ed00a8e75230f0583c477b782271bf3217d53c04a3ec8d05bea +EBUILD genetic-invasion-0.5.ebuild 1311 RMD160 4f962547a18248c98988417fff0380a0e114f567 SHA1 03852819367d0a0c19328fdf6a98bf0d2b46504f SHA256 453ffdced8a262e6d4e33554d077e2133cf9d3d1a732d6afe48b12a2ab0a496a MISC metadata.xml 615 RMD160 62a4fea362ebdec37f0ebf0afd2740e52960f162 SHA1 625884308d9275ee2f886d060c25e45d1c21ee1d SHA256 115b82f40ba46695d3453b9fff1f84ed8f21ad4d60a586274a5c9cd48b045cbc diff --git a/games-strategy/genetic-invasion/genetic-invasion-0.5.ebuild b/games-strategy/genetic-invasion/genetic-invasion-0.5.ebuild new file mode 100644 index 0000000..2657ce1 --- /dev/null +++ b/games-strategy/genetic-invasion/genetic-invasion-0.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# + +EAPI=2 +inherit eutils toolchain-funcs cmake-utils games + +MY_P="${PN}-v${PV}" + +DESCRIPTION="GeneticInvasion is a tower defence game under a free license." +HOMEPAGE="http://projects.haxx.es/p/genetic-invasion/" +SRC_URI="http://projects.haxx.es/media/upload/genetic-invasion/files/${MY_P}.zip" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=media-libs/libsfml-1.6* +=sci-libs/eo-1.2.0* +virtual/glu" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # disable app building since they're broken + sed -i \ + -e 's?CMAKE_INSTALL_PREFIX}/share/geneticinvasion?CMAKE_INSTALL_PREFIX}/genetic-invasion?' \ + "${S}/CMakeLists.txt" + +} + +src_configure() { + local mycmakeargs="-D CMAKE_INSTALL_PREFIX:PATH=${GAMES_DATADIR}" + cmake-utils_src_configure || die "cmake-utils_src_configure failed" +} + +src_compile() { + cmake-utils_src_compile || die "cmake-utils_src_compile failed" +} + +src_install() { + dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}/data" + dogamesbin "${CMAKE_BUILD_DIR}"/bin/GeneticInvasion + + insinto "${GAMES_DATADIR}/${PN}/data" + doins -r "${S}"/data/* || die "doins failed" + insinto "${GAMES_DATADIR}/${PN}" + dodoc "${S}"/ToDo || die "dodoc failed" + + prepgamesdirs +} |