summaryrefslogtreecommitdiff
blob: 257d30bfb74f47833f1f8ad28c147f1abe659e23 (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.1 2010/02/07 13:34:14 graaff 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 ~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 
}