diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-02-24 09:53:24 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-02-24 09:53:24 +0000 |
commit | ba812650805720a04ef1c72b68c14a2243ba58aa (patch) | |
tree | 80330d4e8b05178233a731480ec795a685cc124d | |
parent | Stable on hppa (bug #117737). (diff) | |
download | gentoo-2-ba812650805720a04ef1c72b68c14a2243ba58aa.tar.gz gentoo-2-ba812650805720a04ef1c72b68c14a2243ba58aa.tar.bz2 gentoo-2-ba812650805720a04ef1c72b68c14a2243ba58aa.zip |
initial commit - ebuild submitted by Horst Schirmeier via bug #93695
(Portage version: 2.1_pre4-r1)
-rw-r--r-- | games-arcade/wop/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/wop/Manifest | 6 | ||||
-rw-r--r-- | games-arcade/wop/files/digest-wop-0.4.1 | 6 | ||||
-rw-r--r-- | games-arcade/wop/metadata.xml | 5 | ||||
-rw-r--r-- | games-arcade/wop/wop-0.4.1.ebuild | 60 |
5 files changed, 87 insertions, 0 deletions
diff --git a/games-arcade/wop/ChangeLog b/games-arcade/wop/ChangeLog new file mode 100644 index 000000000000..4d95e632895f --- /dev/null +++ b/games-arcade/wop/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-arcade/wop +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/ChangeLog,v 1.1 2006/02/24 09:53:24 mr_bones_ Exp $ + +*wop-0.4.1 (24 Feb 2006) + + 24 Feb 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, + +wop-0.4.1.ebuild: + initial commit - ebuild submitted by Horst Schirmeier via bug #93695 + diff --git a/games-arcade/wop/Manifest b/games-arcade/wop/Manifest new file mode 100644 index 000000000000..d937175da296 --- /dev/null +++ b/games-arcade/wop/Manifest @@ -0,0 +1,6 @@ +MD5 d24ff0e0080318bb108db0524341bd98 files/digest-wop-0.4.1 506 +RMD160 85761762d654857faa4afeb4b826dbfbb8a01188 files/digest-wop-0.4.1 506 +SHA256 888312fcc57c30d83f33247debd059f91f2f80505c86afd28110c17702b3c149 files/digest-wop-0.4.1 506 +MD5 0080b51bc30958001e1d30f4c66d15ec wop-0.4.1.ebuild 1640 +RMD160 dbb86c776b10f6bbae91f31677d66c7345a1ab4c wop-0.4.1.ebuild 1640 +SHA256 fe18428064a6331d62602cfca8e6b5ecb836773ac360bb683aca8b018ec6e2cf wop-0.4.1.ebuild 1640 diff --git a/games-arcade/wop/files/digest-wop-0.4.1 b/games-arcade/wop/files/digest-wop-0.4.1 new file mode 100644 index 000000000000..e9462a45a293 --- /dev/null +++ b/games-arcade/wop/files/digest-wop-0.4.1 @@ -0,0 +1,6 @@ +MD5 9e484b312f287dd6c5e7e1b9a666e11f wop-0.4.1-src.tar.bz2 279695 +RMD160 509d794e1b5067bc8a9d09517657ba8723e105dd wop-0.4.1-src.tar.bz2 279695 +SHA256 b29148e94a2ea4f853dec7620d8e03b9eccc4253df287a7c6f12119eecb32555 wop-0.4.1-src.tar.bz2 279695 +MD5 0bf42f28e03dcac5c8066b46d7733907 wopdata-2005-12-21.tar.bz2 4217006 +RMD160 3ea35cca0b28bbd0ff278899b5cc1d8dd83e0602 wopdata-2005-12-21.tar.bz2 4217006 +SHA256 cd6b8eb9f77f709d7a52b913d8a665bd202c53ceca9cf96b4c9f9adc17d8a6b2 wopdata-2005-12-21.tar.bz2 4217006 diff --git a/games-arcade/wop/metadata.xml b/games-arcade/wop/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-arcade/wop/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>games</herd> +</pkgmetadata> diff --git a/games-arcade/wop/wop-0.4.1.ebuild b/games-arcade/wop/wop-0.4.1.ebuild new file mode 100644 index 000000000000..0284907ecaef --- /dev/null +++ b/games-arcade/wop/wop-0.4.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/wop-0.4.1.ebuild,v 1.1 2006/02/24 09:53:24 mr_bones_ Exp $ + +inherit eutils games + +MY_DATA_V="2005-12-21" +MY_DATA_P="${PN}data-${MY_DATA_V}" + +DESCRIPTION="Worms of Prey - A multi-player, real-time clone of Worms" +HOMEPAGE="http://wormsofprey.org/" +SRC_URI="http://wormsofprey.org/download/${P}-src.tar.bz2 + http://wormsofprey.org/download/${MY_DATA_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="sys-libs/zlib + >=media-libs/libsdl-1.2 + >=media-libs/sdl-net-1.2.5 + >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-ttf-2.0" + +MY_DATA_S=${WORKDIR}/${MY_DATA_P} + +src_unpack() { + unpack ${A} + + # correct path to global woprc + sed -i \ + -e "s:/etc/woprc:${GAMES_SYSCONFDIR}/woprc:g" \ + "${S}/src/wopsettings.cpp" \ + || die "sed failed" + + # patch global woprc with the correct data files location and install it + sed -i \ + -e "s:^data =.*$:data = ${GAMES_DATADIR}/${PN}:" \ + "${S}/woprc" \ + || die "sed failed" +} + +src_install() { + dogamesbin bin/${PN} || die "dogamesbin failed" + + newicon "${MY_DATA_S}/images/misc/icons/wop16.png" ${PN}.png + make_desktop_entry wop "Worms of Prey" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r "${MY_DATA_S}"/* || die "doins failed" + + dodoc AUTHORS ChangeLog PACKAGE_MAINTAINERS README{,-Libraries.txt} REVIEWS + + insinto "${GAMES_SYSCONFDIR}" + doins "${S}/woprc" || die "doins failed" + + prepgamesdirs +} |