summaryrefslogtreecommitdiff
blob: aeedc4d733dee9af54a8f35c73608ad3e72f2ba3 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.0.17.ebuild,v 1.2 2003/02/13 11:40:22 vapier Exp $

S=${WORKDIR}/FXRuby-${PV}
DESCRIPTION="FXRuby is the Ruby language binding to the FOX GUI toolkit."
SRC_URI="mirror://sourceforge/fxruby/FXRuby-${PV}.tar.gz"
HOMEPAGE="http://www.fxruby.org"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-lang/ruby-1.6
	>=x11-libs/fox-1.0.17"

src_compile() {
	ruby install.rb config --prefix=${D}/usr || die "Failed to configure FXRuby"
	ruby install.rb setup || die "Failed to setup FXRuby"
}

src_install() {
	ruby install.rb install || die "Failed to install FXRuby"

	dodoc [A-Z]*
	cp -dr examples doc ${D}/usr/share/doc/${PF}
}