summaryrefslogtreecommitdiff
blob: c5615a38c710686554fa882fa5af6996b2b4e7a0 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild,v 1.7 2010/06/21 20:33:42 gmsoft Exp $

EAPI="2"
USE_RUBY="ruby18"

inherit ruby-ng

DESCRIPTION="ruby shadow bindings"
HOMEPAGE="http://ttsky.net"
SRC_URI="http://ttsky.net/src/${P}.tar.gz"

S=${WORKDIR}/shadow-${PV}

LICENSE="Ruby"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc sparc x86"
IUSE=""

RUBY_PATCHES=( "${P}-debian.patch" )

each_ruby_configure() {
	${RUBY} extconf.rb || die "Configuration failed."
}

each_ruby_compile() {
	emake || die "Compilation failed."
}

each_ruby_install() {
	emake install DESTDIR="${D}" || die "Installation failed."
}

all_ruby_install() {
	dodoc HISTORY README README.euc
}