blob: 40c437aa6a34c085466a2bb83e865a5bf087a0fb (
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
33
34
35
36
37
38
39
40
|
# 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.ebuild,v 1.6 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.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86"
USE_RUBY="ruby16 ruby18 ruby19"
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}/${PN}"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-extconf-gentoo.diff
}
src_compile() {
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
}
|