sci-libs/lwpr - 1.2.5 (science)

Search

Package Information

Description:
The Locally Weighted Projection Regression Library
Homepage:
https://web.inf.ed.ac.uk/slmc
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.2.5 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DOCS_BUILDER="doxygen"

inherit docs

DESCRIPTION="The Locally Weighted Projection Regression Library"
HOMEPAGE="https://web.inf.ed.ac.uk/slmc"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples octave static-libs"

RDEPEND="octave? ( >=sci-mathematics/octave-3 )"
DEPEND="${RDEPEND}"

src_configure() {
	econf \
		--enable-threads=3 \
		$(use_with octave octave)
}

src_compile() {
	default
	docs_compile
}

src_install() {
	default
	if use doc; then
	dodoc doc/lwpr_doc.pdf
	dodoc html/*
	fi
	if use examples ; then
		docinto /usr/share/doc/${PF}/examples
		dodoc example_c/cross.c example_cpp/cross.cc
	fi
	if use octave; then
		insinto /usr/share/octave/packages/${P}
		doins matlab/*.m
	fi
}

USE Flags

Dependencies

DEPEND

octave? ( >=sci-mathematics/octave-3 )

RDEPEND

octave? ( >=sci-mathematics/octave-3 )

Manifest for 1.2.5

Type File Size Source URLs
DIST lwpr-1.2.5.tar.gz 773926 bytes https://downloads.sourceforge.net/lwpr/lwpr-1.2.5.tar.gz