diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-19 05:31:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-19 05:31:47 +0000 |
commit | 8b52a922bbc7857d292077024d641a0a55699f81 (patch) | |
tree | 0fe79614379828061c7f8d3d5d9c8649a384ede6 /games-arcade/conveysdl/conveysdl-1.ebuild | |
parent | Changed make to emake for Mr_Bones. (diff) | |
download | gentoo-2-8b52a922bbc7857d292077024d641a0a55699f81.tar.gz gentoo-2-8b52a922bbc7857d292077024d641a0a55699f81.tar.bz2 gentoo-2-8b52a922bbc7857d292077024d641a0a55699f81.zip |
initial commit - ebuild submitted by Alexandru Toma via bug #81635
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-arcade/conveysdl/conveysdl-1.ebuild')
-rw-r--r-- | games-arcade/conveysdl/conveysdl-1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/games-arcade/conveysdl/conveysdl-1.ebuild b/games-arcade/conveysdl/conveysdl-1.ebuild new file mode 100644 index 000000000000..48bad489eda9 --- /dev/null +++ b/games-arcade/conveysdl/conveysdl-1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/conveysdl/conveysdl-1.ebuild,v 1.1 2005/02/19 05:31:47 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="Guide the blob along the conveyer belt collecting the red blobs, if you miss any you go round again" +HOMEPAGE="http://www.cloudsprinter.com/software/conveysdl/" +# No upstream version +#SRC_URI="http://www.cloudsprinter.com/software/conveysdl/${PN}.tar" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.7 + >=media-libs/sdl-mixer-1.2.5" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + + find gfx sounds levels -type f -exec chmod a-x \{\} \; + + # Patch paths and use our CFLAGS + sed -i \ + -e "s:\"\":\"\$(datadir)/\":" \ + -e "s:-Wall:-Wall ${CFLAGS}:" \ + Makefile || die "sed Makefile failed" + + # Incomplete readme + sed -i \ + -e 's:I k:use -nosound to disable sound\n\nI k:' \ + readme || die "sed readme failed" + + sed -i \ + -e 's:SDL_Mi:SDL_mi:' \ + src/main.c || die "sed main.c failed" +} + +src_compile() { + emake datadir="${GAMES_DATADIR}/${PN}" || die "emake failed" +} + +src_install() { + dogamesbin conveysdl || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" + cp -r gfx sounds levels "${D}${GAMES_DATADIR}/${PN}" || die "cp failed" + dodoc readme + prepgamesdirs +} |