Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10093 - New ebuild: RUDL - Ruby/SDL bindings
Summary: New ebuild: RUDL - Ruby/SDL bindings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-02 09:21 UTC by Felix Breuer
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Breuer 2002-11-02 09:21:37 UTC
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 ;)
Comment 1 Nicholas Henke (RETIRED) gentoo-dev 2002-11-03 17:37:02 UTC
I have not a clue when it comes to ruby :/
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-11-11 10:34:16 UTC
Fixed. Available for testing as dev-ruby/rudl-0.7.