Files
guru/sci-libs/kissfft/kissfft-131.ebuild
Andrew Ammerlaan bb521806cd sci-libs/kissfft: add missing dep
Closes: https://bugs.gentoo.org/784701
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-04-21 09:13:54 +02:00

36 lines
794 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft"
LICENSE="BSD"
IUSE="test"
RESTRICT="!test? ( test )"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/mborgerding/kissfft"
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DEPEND="sci-libs/fftw:3.0"
RDEPEND="${DEPEND}"
src_install() {
dolib.so libkissfft.so
doheader kiss_fft.h
}
src_test() {
make -C test testcpp && test/testcpp || die
make -C test DATATYPE=simd CFLAGADD="$(CFLAGADD)" test || die
}