gentoo-overlay/net-wireless/multimode/multimode-9999.ebuild

38 lines
1,009 B
Bash

# Copyright 1999-2014 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.8 2014/03/03 18:01:49 zerochaos Exp $
EAPI=5
PYTHON_COMPAT="python2_7"
inherit python-single-r1
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 ~arm ~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:=[utils,${PYTHON_USEDEP}]
=net-wireless/rtl-sdr-9999"
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
}