diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest new file mode 100644 index 0000000000..b772ae85a8 --- /dev/null +++ b/sci-libs/kissfft/Manifest @@ -0,0 +1 @@ +DIST kissfft-131.tar.gz 44748 BLAKE2B 71418543995ce5bd26d12077bd7de24978ca30c827ea4fa210c63bb42fc64ee2449825605cc498d090670b08aaec08ea22901ae790a8276f156b899a687d5bc7 SHA512 6cc7efbe898287cdc623970f84b57c6a71148ded78732c36c4bd376a122efcf6c27d3a61679fccfbe47d0e79c7d1f3065b21a7091110154e402c0b2a49a378f9 diff --git a/sci-libs/kissfft/kissfft-131.ebuild b/sci-libs/kissfft/kissfft-131.ebuild new file mode 100644 index 0000000000..5151bf5569 --- /dev/null +++ b/sci-libs/kissfft/kissfft-131.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 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" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="${HOMEPAGE}" + inherit git-r3 +else + SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DEPEND="" +RDEPEND="" + +src_install() { + dolib.so libkissfft.so + doheader kiss_fft.h +} + +src_test() { + make testall || die +} diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild new file mode 100644 index 0000000000..5151bf5569 --- /dev/null +++ b/sci-libs/kissfft/kissfft-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 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" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="${HOMEPAGE}" + inherit git-r3 +else + SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DEPEND="" +RDEPEND="" + +src_install() { + dolib.so libkissfft.so + doheader kiss_fft.h +} + +src_test() { + make testall || die +} diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml new file mode 100644 index 0000000000..01c1fc8487 --- /dev/null +++ b/sci-libs/kissfft/metadata.xml @@ -0,0 +1,8 @@ + + + + + davidroman96@gmail.com + David Roman + +