mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
35 lines
703 B
Bash
35 lines
703 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
|
|
|
inherit ruby-ng
|
|
|
|
DESCRIPTION="RFC 2229 client in Ruby"
|
|
HOMEPAGE="http://www.caliban.org/ruby/ruby-dict.shtml"
|
|
SRC_URI="http://www.caliban.org/files/ruby/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
|
|
IUSE=""
|
|
|
|
RUBY_PATCHES=( "${PN}-ruby19.patch" )
|
|
|
|
each_ruby_install() {
|
|
doruby lib/dict.rb || die "doruby failed"
|
|
}
|
|
|
|
all_ruby_install() {
|
|
dobin rdict
|
|
|
|
dodoc README Changelog TODO doc/rfc2229.txt
|
|
dohtml doc/dict.html doc/rdict.html
|
|
|
|
# This would probably need a 3rb section..
|
|
# doman doc/dict.3
|
|
doman doc/rdict.1
|
|
}
|