summaryrefslogtreecommitdiff
blob: 8db1fc66ae5dd661f2c40b63064f0932b0e1d4f7 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild,v 1.1 2012/04/21 12:11:28 chithanh Exp $

EAPI=4
PYTHON_DEPEND="2"

inherit cmake-utils git-2 python

DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr"
HOMEPAGE="http://sdr.osmocom.org/"
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="dev-libs/boost
	net-wireless/gnuradio
	net-wireless/rtl-sdr"
DEPEND="${RDEPEND}"

pkg_setup() {
	python_set_active_version 2
	python_pkg_setup
}

src_prepare() {
	python_convert_shebangs -q -r 2 "${S}"
}