2013-05-31 11:13:47 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-04-22 19:18:17 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-06-01 01:58:21 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild,v 1.6 2013/05/31 13:23:11 zerochaos Exp $
|
2012-04-22 19:18:17 +04:00
|
|
|
|
2013-05-31 11:13:47 +04:00
|
|
|
EAPI=5
|
2012-04-22 19:18:17 +04:00
|
|
|
PYTHON_DEPEND="2"
|
|
|
|
|
2013-05-31 11:13:47 +04:00
|
|
|
inherit cmake-utils python
|
2012-04-22 19:18:17 +04:00
|
|
|
|
2013-06-01 01:58:21 +04:00
|
|
|
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf"
|
|
|
|
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
|
2013-05-31 11:13:47 +04:00
|
|
|
|
|
|
|
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
|
2012-04-22 19:18:17 +04:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS=""
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="dev-libs/boost
|
2013-05-31 11:13:47 +04:00
|
|
|
>=net-wireless/gnuradio-3.7:0=
|
2012-04-22 19:18:17 +04:00
|
|
|
net-wireless/rtl-sdr"
|
2012-06-12 14:50:24 +04:00
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-python/cheetah"
|
2012-04-22 19:18:17 +04:00
|
|
|
|
|
|
|
pkg_setup() {
|
|
|
|
python_set_active_version 2
|
|
|
|
python_pkg_setup
|
|
|
|
}
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
python_convert_shebangs -q -r 2 "${S}"
|
|
|
|
}
|