summaryrefslogtreecommitdiff
blob: f2dafa318d9278e359893c94422e56cc2cbc4fa3 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Java-like matrix C++ templates"
HOMEPAGE="https://math.nist.gov/tnt/"
SRC_URI="https://math.nist.gov/tnt/${PN}${PV//./}.zip
	doc? ( https://math.nist.gov/tnt/${PN}102doc.zip )"
S="${WORKDIR}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"

RDEPEND="sci-libs/tnt"
BDEPEND="app-arch/unzip"

src_install() {
	doheader *.h

	use doc && HTML_DOCS=( doxygen/html/. )
	einstalldocs
}