diff options
Diffstat (limited to 'net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild')
-rw-r--r-- | net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild new file mode 100644 index 000000000000..17146e52489b --- /dev/null +++ b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools multilib + +DESCRIPTION="A library with SDR DSP primitives" +HOMEPAGE="http://git.osmocom.org/libosmo-dsp/" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.osmocom.org/${PN}" +else + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="doc static-libs" + +RDEPEND="sci-libs/fftw:3.0" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + use doc || export ac_cv_path_DOXYGEN=false + default_src_configure +} + +src_install() { + default_src_install + use static-libs || rm "${ED}"/usr/$(get_libdir)/libosmodsp.a +} |