blob: 24d8085ba64212b173effcde98a78445989d3509 (
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
38
39
40
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild,v 1.2 2015/04/11 15:03:07 graaff Exp $
EAPI=5
# ruby22 -> uses obsolete Config module
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
RUBY_FAKEGEM_NAME="PriorityQueue"
inherit multilib ruby-fakegem
DESCRIPTION="A fibonacci-heap priority-queue implementation"
HOMEPAGE="https://rubygems.org/gems/PriorityQueue"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
all_ruby_prepare() {
rm Makefile *.o *.so || die
}
each_ruby_configure() {
${RUBY} setup.rb config || die
}
each_ruby_compile() {
${RUBY} setup.rb setup || die
cp ext/priority_queue/*$(get_modname) lib/ || die
}
each_ruby_test() {
${RUBY} -Ilib test/priority_queue_test.rb || die
}
|