blob: e8ab52c841fd94ba252962a38da0f8412ec00daf (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
USE_RUBY=( ruby19 )
inherit ruby-ng
DESCRIPTION="Text presentation program (ncurses-based)"
HOMEPAGE="http://www.ngolde.de/tpp.html"
SRC_URI="http://www.ngolde.de/download/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="dev-ruby/ncurses-ruby"
S="${WORKDIR}"/all/${P}
src_prepare() {
local ruby=$(ruby_implementation_command ruby19)
sed "1c\#! ${ruby}" -i tpp.rb || die
}
src_compile() {
:
}
src_install() {
dodir /usr/bin || die
dodir /usr/share/man/man1 || die
docompress -x /usr/share/doc/${PN}/examples/
docompress -x /usr/share/doc/${PN}/contrib/
emake prefix="${D}"/usr install
}
|