blob: 8d23696dde84d8e5db5bac0e9dec9e85677d330b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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
}
|