| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/tnt/tnt-1.2.6.ebuild,v 1.1 2010/02/25 05:59:43 bicatali Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit versionator
|
| 8 |
|
| 9 |
MYP="${PN}$(replace_all_version_separators '')"
|
| 10 |
DOCPV=120
|
| 11 |
|
| 12 |
DESCRIPTION="Template Numerical Toolkit: C++ headers for array and matrices"
|
| 13 |
HOMEPAGE="http://math.nist.gov/tnt/"
|
| 14 |
SRC_URI="http://math.nist.gov/tnt/${MYP}.zip
|
| 15 |
doc? ( http://math.nist.gov/tnt/${PN}${DOCPV}doc.zip )"
|
| 16 |
|
| 17 |
LICENSE="public-domain"
|
| 18 |
SLOT="0"
|
| 19 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
| 20 |
|
| 21 |
IUSE="doc"
|
| 22 |
|
| 23 |
DEPEND="app-arch/unzip"
|
| 24 |
RDEPEND=""
|
| 25 |
|
| 26 |
S="${WORKDIR}"
|
| 27 |
|
| 28 |
src_install() {
|
| 29 |
insinto /usr/include
|
| 30 |
doins *.h
|
| 31 |
use doc && dohtml html/*
|
| 32 |
}
|