You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
747 B
29 lines
747 B
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-office/tpp/tpp-1.3.1-r2.ebuild,v 1.1 2013/06/21 14:25:06 prometheanfire Exp $
|
|
|
|
EAPI=2
|
|
USE_RUBY="ruby18"
|
|
|
|
inherit eutils ruby-ng
|
|
|
|
DESCRIPTION="An ncurses-based presentation tool."
|
|
HOMEPAGE="http://synflood.at/tpp.html"
|
|
SRC_URI="http://synflood.at/tpp/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="figlet"
|
|
|
|
RDEPEND="${RDEPEND} figlet? ( app-misc/figlet )"
|
|
|
|
ruby_add_rdepend "dev-ruby/ncurses-ruby"
|
|
|
|
RUBY_PATCHES=( "${FILESDIR}/${P}-Makefile.patch"
|
|
"${FILESDIR}/${P}-optional-exec.patch" )
|
|
|
|
each_ruby_install() {
|
|
make DESTDIR="${D}" install || die "make install failed"
|
|
}
|