blob: 648122eaf60892b9152514cad198598fccdc1a89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/multimode/multimode-9999.ebuild,v 1.3 2012/09/14 18:03:27 mr_bones_ Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
inherit python
if [[ ${PV} == "9999" ]] ; then
ESVN_REPO_URI="https://www.cgran.org/svn/projects/multimode/trunk"
inherit subversion
KEYWORDS=""
else
SRC_URI="http://www.sbrac.org/files/${PN}-r${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="multimode radio decoder for rtl-sdr devices using gnuradio"
HOMEPAGE="https://www.cgran.org/browser/projects/multimode/trunk"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
=net-wireless/gr-osmosdr-9999
=net-wireless/gnuradio-9999
=net-wireless/rtl-sdr-9999"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
python_convert_shebangs $(python_get_version) ${PN}.py
newbin ${PN}.py ${PN}
insinto $(python_get_sitedir)
doins ${PN}_helper.py
insinto /usr/share/${PN}
doins ${PN}.grc
}
|