mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
41 lines
761 B
Bash
41 lines
761 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="C++ library of mathematical, signal processing and communication"
|
|
HOMEPAGE="https://itpp.sourceforge.net"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc ppc64 ~x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="sci-libs/fftw:3.0=
|
|
virtual/blas
|
|
virtual/lapack"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig
|
|
doc? (
|
|
app-text/doxygen
|
|
virtual/latex-base
|
|
)"
|
|
|
|
DOCS=( ChangeLog NEWS AUTHORS README )
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-4.3.1-use-GNUInstallDirs.patch
|
|
)
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBLA_VENDOR=Generic
|
|
-DHTML_DOCS=$(usex doc)
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|