blob: 6eb037438e4904e75f6b27212b11b109e842db20 (
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
|
# Copyright 1999-2010 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"
# forkosh.com only provide mimetex.zip file that is breaking everything when
# their is a version bump. I've hosted currente release into my server (volkmar)
#SRC_URI="http://www.forkosh.com/${PN}.zip"
SRC_URI="http://gentoo.oldworld.fr/distfiles/${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}
src_compile() {
$(tc-getCC) ${CFLAGS} -DAA -o ${PN} mimetex.c gifsave.c -lm \
|| die "compilation failed"
}
src_install() {
dobin ${PN}.cgi || die "installation failed"
}
|