# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rudl/rudl-0.7.1.ebuild,v 1.4 2004/06/25 02:04:22 agriffis Exp $ inherit ruby eutils DESCRIPTION="Rubyesque Directmedia Layer - Ruby/SDL bindings" HOMEPAGE="http://rudl.sourceforge.net/" SRC_URI="mirror://sourceforge/rudl/${P}-source.tar.gz" LICENSE="LGPL-2.1" SLOT="0" USE_RUBY="ruby16 ruby18 ruby19" KEYWORDS="x86 ~ppc" IUSE="" DEPEND=">=media-libs/libsdl-1.2.4.20020601 >=media-libs/sdl-gfx-2.0.3 >=media-libs/sdl-image-1.2.2 >=media-libs/sdl-mixer-1.2.4 >=media-libs/sdl-ttf-2.0.5 virtual/ruby" S="${WORKDIR}" src_unpack() { unpack ${A} epatch ${FILESDIR}/${PN}-extconf-gentoo.diff epatch ${FILESDIR}/${P}-gentoo.diff } src_compile() { ruby extconf.rb emake || die }