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

inherit toolchain-funcs

DESCRIPTION="mimetex lets you easily embed LaTeX math in your html and dynamic web pages"
HOMEPAGE="http://www.forkosh.dreamhost.com/mimetex.html"
SRC_URI="http://www.forkosh.com/${PN}.zip"

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

DEPEND="app-arch/unzip"
RDEPEND=""

S=${WORKDIR}

src_compile() {
	$(tc-getCC) ${CFLAGS} -DAA -o ${PN} mimetex.c gifsave.c -lm \
		|| die "compile failed!"
}

src_install() {
	dobin ${PN}
}