blob: 4a23252cd0299200bb8766b91953b4f15ff574a2 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit toolchain-funcs
DESCRIPTION="Translate TEX into HTML"
HOMEPAGE="http://hutchinson.belmont.ma.us/tth/"
SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}.tar.gz"
SLOT="0"
LICENSE="free-noncomm"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="
app-text/ghostscript-gpl
media-libs/netpbm"
S="${WORKDIR}/${PN}"
src_compile() {
emake GCC="$(tc-getCC) -O" tth
cd tools
tc-export CC
echo 'all: tthsplit' > makefile
emake
}
src_install() {
dobin tth latex2gif ps2gif tools/ps2png tools/tthsplit
dodoc CHANGES
doman tth.1
}
|