summaryrefslogtreecommitdiff
blob: daafe6f28f2f7282c599c74bacd07ecc337f3af1 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-xlib/ruby-xlib-0.6.15-r1.ebuild,v 1.3 2006/07/09 21:05:59 flameeyes Exp $

inherit ruby
USE_RUBY="ruby16 ruby18 ruby19"

DESCRIPTION="call Xlib functions from ruby"
HOMEPAGE="http://www.moriq.com/ruby/xlib/"
SRC_URI="http://www.moriq.com/ruby/archive/${P}.tar.gz"

LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~x86"
IUSE=""

RDEPEND="
	|| (
		(
			x11-libs/libX11
			x11-libs/libXext
		)
		<virtual/x11-7
	)"
DEPEND="${RDEPEND}
	|| (
		(
			x11-proto/xproto
			x11-proto/xextproto
		)
		<virtual/x11-7
	)"

PATCHES="${FILESDIR}/ruby-xlib-0.6.15-gcc.patch"

src_install() {
	ruby_src_install
	find ${D}/usr/share/doc/${PF} -perm 666 -print0 | xargs -0 chmod 644
}