summaryrefslogtreecommitdiff
blob: 6567516f3b9d5fd4b4f132abedc9a87713e8c516 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xmpp4r/xmpp4r-0.5-r1.ebuild,v 1.1 2010/02/08 17:10:06 graaff Exp $

EAPI="2"
USE_RUBY="ruby18"

RUBY_FAKEGEM_EXTRADOC="README.rdoc README_ruby19.txt CHANGELOG"

inherit ruby-fakegem

DESCRIPTION="An XMPP library for Ruby"
HOMEPAGE="http://home.gna.org/xmpp4r/"

LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="examples"

# Tests fail, reported upstream: http://github.com/ln/xmpp4r/issues/issue/6
RESTRICT="test"

all_ruby_install() {
	all_fakegem_install

	if use examples; then
		insinto /usr/share/doc/${PF}
		doins -r data/doc/xmpp4r/examples
	fi
}