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.
41 lines
769 B
41 lines
769 B
# Copyright 1999-2022 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="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="sci-libs/fftw:3.0=
|
|
virtual/blas
|
|
virtual/lapack"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig
|
|
doc? (
|
|
app-doc/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
|
|
}
|