blob: 2d1be61bdfcb4a944deaa9b505df7e99a28bfc24 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
USE_RUBY=( ruby19 )
inherit eutils ruby-ng
DESCRIPTION="Ruby bindings to ncurses"
HOMEPAGE="http://sourceforge.net/projects/ncurses-ruby.berlios/"
SRC_URI="mirror://sourceforge/project/${PN}.berlios/${P}.tar.bz2"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}"/all/${P}
src_prepare() {
# https://bugzilla.redhat.com/show_bug.cgi?id=822814#c1
epatch "${FILESDIR}"/${P}-ruby19.patch
}
src_compile() {
local ruby=$(ruby_implementation_command ruby19)
${ruby} extconf.rb
emake
}
src_install() {
emake DESTDIR="${D}" install
}
|