I have made an ebuild for RUDL (RUbyesque Directmedia Layer) which is a library providing SDL bindings for ruby. The ebuild works on my system (x86) and it does not install anything outside ${D}. Here it is: --- BEGIN EBUILD: rudl-0.7.ebuild # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Rubyesque Directmedia Layer - Ruby/SDL bindings" HOMEPAGE="http://froukepc.dhs.org/rudl/" SRC_URI="http://froukepc.dhs.org/rudl/download/source/${P}-source.tgz" LICENSE="LGPL" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=libsdl-1.2.4.20020601" DEPEND=">=sdl-gfx-2.0.3" DEPEND=">=sdl-image-1.2.2" DEPEND=">=sdl-mixer-1.2.4" DEPEND=">=sdl-ttf-2.0.5" DEPEND=">=ruby-1.6.7" #RDEPEND="" S="${WORKDIR}/rudl" src_compile() { cd ${S} ruby extconf.rb emake || die #make || die } src_install() { # AFAIK this package's makefile does not make use of DESTDIR # and it contains neither man nor info pages. # make DESTDIR=${D} install || die make prefix=${D}/usr install || die } --- END EBUILD --- BEGIN ChangeLog # ChangeLog for dev-ruby/rudl # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header: $ *rudl-0.7 02 11 2002; Felix Breuer <felix@fbreuer.de> ChangeLog, rudl-0.7.ebuild : Initial import. Ebuild submitted by Felix Breuer felix@fbreuer.de --- END Changelog Of course you might provide a different ChangeLog ;)
I have not a clue when it comes to ruby :/
Fixed. Available for testing as dev-ruby/rudl-0.7.