blob: 2138b1a1169297293b9cd8e8c9bde13ec6865ae4 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-0.0.1.ebuild,v 1.2 2013/05/31 13:23:11 zerochaos Exp $
EAPI=5
PYTHON_DEPEND="2"
inherit cmake-utils python
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr"
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
if [[ ${PV} == 9999* ]]; then
inherit git-2
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
else
SRC_URI="mirror://gentoo/${P}.tar.xz"
fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="dev-libs/boost
<net-wireless/gnuradio-3.7:0=
net-wireless/rtl-sdr"
DEPEND="${RDEPEND}
dev-python/cheetah"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_convert_shebangs -q -r 2 "${S}"
}
|