summaryrefslogtreecommitdiff
blob: 71004dd04865718acf1438d7f910da9e22c4ccd0 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2
USE_RUBY="ruby18"
inherit ruby-fakegem

MY_PN="PlugMan"

DESCRIPTION="Simple plugin manager for ruby"
HOMEPAGE=""
SRC_URI="http://rubyforge.org/frs/download.php/33561/${MY_PN}-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README PlugMan.pdf"

S="${WORKDIR}/${MY_PN}-${PV}"

all_ruby_prepare() {
	#Normal directory structure helps.
	mv src lib || die
	sed -i 's|src/|lib/|g' Rakefile || die "sed failed"
}