diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-15 00:00:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-15 00:00:37 +0000 |
commit | 034d3465a569b95cb28fe1a43f0c6db3271fdea5 (patch) | |
tree | 5d702542a0b877bb5b26155926cde6c1e616e53e /games-puzzle/world-of-goo-demo | |
parent | fixing src_prepare. Thanks to Arfrever (diff) | |
download | gentoo-2-034d3465a569b95cb28fe1a43f0c6db3271fdea5.tar.gz gentoo-2-034d3465a569b95cb28fe1a43f0c6db3271fdea5.tar.bz2 gentoo-2-034d3465a569b95cb28fe1a43f0c6db3271fdea5.zip |
Initial ebuild #258960 by Vladimir Berezhnoy.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'games-puzzle/world-of-goo-demo')
-rw-r--r-- | games-puzzle/world-of-goo-demo/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/world-of-goo-demo/metadata.xml | 5 | ||||
-rw-r--r-- | games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild | 54 |
3 files changed, 69 insertions, 0 deletions
diff --git a/games-puzzle/world-of-goo-demo/ChangeLog b/games-puzzle/world-of-goo-demo/ChangeLog new file mode 100644 index 000000000000..075c0d33fde3 --- /dev/null +++ b/games-puzzle/world-of-goo-demo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/world-of-goo-demo +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo-demo/ChangeLog,v 1.1 2009/02/15 00:00:37 vapier Exp $ + +*world-of-goo-demo-1.40 (15 Feb 2009) + + 15 Feb 2009; Mike Frysinger <vapier@gentoo.org> +metadata.xml, + +world-of-goo-demo-1.40.ebuild: + Initial ebuild #258960 by Vladimir Berezhnoy. + diff --git a/games-puzzle/world-of-goo-demo/metadata.xml b/games-puzzle/world-of-goo-demo/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-puzzle/world-of-goo-demo/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-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild new file mode 100644 index 000000000000..6baaded46ba1 --- /dev/null +++ b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild,v 1.1 2009/02/15 00:00:37 vapier Exp $ + +inherit games + +MY_PN="WorldOfGooDemo" +DESCRIPTION="World of Goo is a puzzle game with a strong emphasis on physics" +HOMEPAGE="http://2dboy.com/" +SRC_URI="${MY_PN}.${PV}.tar.gz" + +LICENSE="2dboy-EULA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="fetch strip" + +# the package includes SDL/ogg/vorbis already +RDEPEND="sys-libs/glibc + virtual/opengl + virtual/glu + >=sys-devel/gcc-3.4 + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-xlibs + )" +DEPEND="" + +S=${WORKDIR}/${MY_PN} + +QA_EXECSTACK="opt/WorldOfGooDemo/WorldOfGoo.bin" + +pkg_nofetch() { + elog "To download the demo, visit http://worldofgoo.com/dl2.php?lk=demo" + elog "and download ${A} and place it in ${DISTDIR}" +} + +src_install() { + local d="/opt/${MY_PN}" + insinto ${d} + doins -r */ ${MY_PN%Demo}* || die + + dodoc readme.html linux-issues.txt + newicon icon.png ${MY_PN}.png + make_desktop_entry ${MY_PN} "World Of Goo (Demo)" ${MY_PN}.png + + dosym ${d}/${MY_PN%Demo} "${GAMES_BINDIR}"/${MY_PN} + pushd "${D}"${d} >/dev/null + chmod a+rx ${MY_PN%Demo}* libs/lib* || die + games_make_wrapper ${MY_PN} ${d}/${MY_PN%Demo} + popd >/dev/null + + prepgamesdirs ${d} +} |