Install this version:
emerge -a =dev-libs/tvmet-1.7.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/tvmet-1.7.2
Or alternatively:
emerge --autounmask-write -a =dev-libs/tvmet-1.7.2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
DESCRIPTION="Tiny Vector Matrix library using Expression Templates"
HOMEPAGE="http://tvmet.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
SLOT="0"
LICENSE="LGPL-2.1 TVMET-ADDENDUM"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc test"
RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-text/doxygen )"
DEPEND="test? ( dev-util/cppunit )"
PATCHES=(
"${FILESDIR}"/${P}-respect-cxxflags.patch
)
src_prepare() {
default
sed -i \
-e 's|^GENERATE_LATEX.*|GENERATE_LATEX = NO|' \
doc/Doxyfile.in || die "sed failed"
# Doc installation is broken with newer Doxygen and autoconf <=2.61
# and we can't rerun autoconf without requiring cppunit unconditionally
sed -i \
-e '/^SUBDIRS/ s|doc ||' \
Makefile.in || die "sed failed"
}
src_configure() {
econf \
$(use_enable debug) \
$(use_enable doc docs) \
$(use_enable test cppunit)
}
src_compile() {
default
if use doc ; then
cd doc || die
doxygen Doxyfile || die "doxygen failed"
fi
}
src_install() {
default
if use doc ; then
docinto html
dodoc -r doc/html/*
fi
}
Manage flags for this package:
euse -i <flag> -p dev-libs/tvmet |
euse -E <flag> -p dev-libs/tvmet |
euse -D <flag> -p dev-libs/tvmet
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tvmet-1.7.2.tar.bz2 | 532599 bytes | https://downloads.sourceforge.net/tvmet/tvmet-1.7.2.tar.bz2 |