gentoo-overlay/dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild

37 lines
797 B
Bash

# 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.8 2010/09/20 19:54:53 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
}