diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /net-libs/liquid-dsp/liquid-dsp-1.3.2.ebuild | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'net-libs/liquid-dsp/liquid-dsp-1.3.2.ebuild')
-rw-r--r-- | net-libs/liquid-dsp/liquid-dsp-1.3.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-libs/liquid-dsp/liquid-dsp-1.3.2.ebuild b/net-libs/liquid-dsp/liquid-dsp-1.3.2.ebuild new file mode 100644 index 000000000000..a8e81740c38f --- /dev/null +++ b/net-libs/liquid-dsp/liquid-dsp-1.3.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib + +DESCRIPTION="digital signal processing library for software-defined radios" +HOMEPAGE="https://liquidsdr.org" + +LICENSE="MIT" +SLOT="0" + +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jgaeddert/liquid-dsp.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +IUSE="static-libs" + +DEPEND="sci-libs/fftw:3.0=" +RDEPEND="${DEPEND}" + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure() { + #without this rather odd looking bit, it installs libraries into /usr/usr/$(get_libdir) + #what is super special is that if exec-prefix is unset, libdir is lib64... + #but if exec-prefix is default then libdir ends up as /usr/lib64 in makefile... + econf --exec-prefix="" --libdir="/usr/$(get_libdir)" +} + +src_install() { + default + ! use static-libs && rm "${ED}"/usr/"$(get_libdir)"/libliquid.a +} |