summaryrefslogtreecommitdiff
blob: 52be0486d4bc0f94d62c0923b6669cc25e78420f (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit ruby

DESCRIPTION="Ruby interface to GnuPG Made Easy (GPGME)"
HOMEPAGE="http://ruby-gpgme.rubyforge.org/"
SRC_URI="http://rubyforge.org/frs/download.php/51466/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="examples"

USE_RUBY="ruby18 ruby19"
DEPEND=">=dev-lang/ruby-1.8
	app-crypt/gpgme"
RDEPEND="${DEPEND}"

src_install() {
	ruby_src_install
	if use examples; then
		docinto examples
		dodoc examples/* || die "Failed to install examples"
	fi
}