diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/multimode/multimode-1.4_p20140831-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/multimode/multimode-1.4_p20140831-r1.ebuild')
-rw-r--r-- | net-wireless/multimode/multimode-1.4_p20140831-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-wireless/multimode/multimode-1.4_p20140831-r1.ebuild b/net-wireless/multimode/multimode-1.4_p20140831-r1.ebuild new file mode 100644 index 000000000000..b8a3b0feeac2 --- /dev/null +++ b/net-wireless/multimode/multimode-1.4_p20140831-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="multimode radio decoder for rtl-sdr devices using gnuradio" +HOMEPAGE="https://www.cgran.org/browser/projects/multimode/trunk" + +LICENSE="BSD" +SLOT="0" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="https://www.cgran.org/svn/projects/multimode/trunk" + inherit subversion +else + #SRC_URI="http://www.sbrac.org/files/${PN}-r${PV}.tar.gz" + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +DEPEND="${PYTHON_DEPS} + >=net-wireless/gnuradio-3.7:=[grc,utils,${PYTHON_USEDEP}] + >=net-wireless/gr-osmosdr-0.1.0:=" +RDEPEND="${DEPEND}" + +src_compile() { + PYTHONPATH="${S}":"${PYTHONPATH}" emake +} + +src_install() { + newbin ${PN}.py ${PN} + insinto $(python_get_sitedir) + doins ${PN}_helper.py + insinto /usr/share/${PN} + doins ${PN}.grc + python_fix_shebang "${ED}"/usr/bin +} |