You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/itex2mml/itex2mml-1.5.6.ebuild

27 lines
612 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="A LaTeX into XHTML/MathML converter"
HOMEPAGE="https://golem.ph.utexas.edu/~distler/blog/itex2MML.html"
SRC_URI="https://golem.ph.utexas.edu/~distler/blog/files/itexToMML-${PV}.tar.gz"
LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE=""
S="${WORKDIR}/itexToMML/itex-src"
src_compile() {
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}"
}
src_install() {
dobin itex2MML
dodoc ../README
}