# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="prefix" inherit ruby eutils USE_RUBY="ruby18" DESCRIPTION="rmovie is a Ruby extension that adds methods for accessing media files." HOMEPAGE="http://rmovie.rubyforge.org/" SRC_URI="http://rubyforge.org/frs/download.php/14345/${P}.tbz2" LICENSE="Ruby" SLOT="0" KEYWORDS="~x86 ~x86-macos" DEPEND=">=media-video/ffmpeg-0.4.9" IUSE="" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-setuprb.patch } src_compile() { ruby setup.rb config --prefix=${EPREFIX} ruby setup.rb setup } src_install() { # fafhrd: yeah, it really needs --prefix # The install process is pretty broken even with respect to auto*hell stuff mkdir -p ${ED} ruby setup.rb install --prefix=${D} }