blob: b4b6f19c0a38ff07cf5245a6e625205adf87e958 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xmpp4r/xmpp4r-0.4.ebuild,v 1.1 2008/11/30 16:13:09 graaff Exp $
inherit gems
DESCRIPTION="An XMPP library for Ruby"
HOMEPAGE="http://home.gna.org/xmpp4r/"
SRC_URI="http://download.gna.org/xmpp4r/${P}.gem"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="examples"
USE_RUBY="ruby18"
src_install() {
gems_src_install
gems_location
D2="${D}/${GEMSDIR}/gems/${P}"
use examples || rm -r ${D2}/data/doc/xmpp4r/examples
mv ${D2}/data/doc/xmpp4r ${D2}/data/doc/${PF} || die "Failed to rename examples"
dodoc ${D2}/{README.rdoc,README_ruby19.txt,CHANGELOG}
}
|