All pastes #773715 Raw Edit

Mine

public shellscript v1 · immutable
·published 2007-11-14 19:03 UTC
rendered paste body
# Copyright 1999-2007 Gentoo Foundation# Distributed under the terms of the GNU General Public License v2# $Header: $inherit eutilsSLOT=0LICENSE='LGPL-2'KEYWORDS='~x86'DESCRIPTION='rubygame is a library for interactive digital media in\the ruby programming language'SRC_URI='http://heanet.dl.sourceforge.net/sourceforge/rubygame/rubygame-2.0.1.tar.bz2'HOMEPAGE='http://rubygame.sourceforge.net'IUSE='gfx mixer image truetype opengl'RDEPEND="virtual/rubydev-ruby/rake>=media-libs/libsdl-1.2.7gfx?( >=media-libs/sdl-gfx-2.0.10 )image?( >=media-libs/sdl-image-1.2.3 )mixer?( >=media-libs/sdl-mixer-1.2.7 )truetype?( >=media-libs/sdl-ttf-2.0.6 )"src_compile() {	if use gfx; then GFX="--gfx"; else GFX="--no-gfx"; fi;	if use image; then IMAGE="--image"; else IMAGE="--no-image"; fi;	if use truetype; then TRUETYPE="--ttf"; else TRUETYPE="--no-ttf"; fi;	if use opengl; then OPENGL="--opengl"; else OPENGL="--no-opengl"; fi;	export RUBYGAME_CONFIG=" ${GFX} ${IMAGE} ${MIXER} ${TRUETYPE} ${OPENGL}" || die "export of RUBYGAME_CONFIG failed"	rake build || die "build failed"}src_install() {	rake install || die "install failed"}