summaryrefslogtreecommitdiff
blob: 08460758fd3d04038ba69f4a778b726cd72fd13d (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tth/tth-3.66.ebuild,v 1.3 2009/09/23 17:25:02 patrick Exp $

inherit toolchain-funcs

DESCRIPTION="TTH translates TEX into HTML."
HOMEPAGE="http://hutchinson.belmont.ma.us/tth/"
SRC_URI="http://hutchinson.belmont.ma.us/tth/tth-noncom/tth_C.tgz"

SLOT="0"
LICENSE="free-noncomm"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""

S="${WORKDIR}/tth_C"

src_compile() {
	"$(tc-getCC)" -o tth tth.c || die "compile failed"
}

src_install() {
	dobin tth
	dodoc CHANGES
	doman tth.1
	dohtml *
}