1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="mimetex lets you easily embed LaTeX math in your html and dynamic web pages"
8 HOMEPAGE="http://www.forkosh.dreamhost.com/mimetex.html"
9 # forkosh.com only provide mimetex.zip file that is breaking everything when
10 # their is a version bump. I've hosted currente release into my server (volkmar)
11 #SRC_URI="http://www.forkosh.com/${PN}.zip"
12 SRC_URI="http://gentoo.oldworld.fr/distfiles/${P}.zip"
16 KEYWORDS="~amd64 ~x86"
19 DEPEND="app-arch/unzip"
25 $(tc-getCC) ${CFLAGS} -DAA -o ${PN} mimetex.c gifsave.c -lm \
26 || die "compilation failed"
30 dobin ${PN}.cgi || die "installation failed"