You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/bladerf-fpga/bladerf-fpga-0.0.6.ebuild

31 lines
722 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="bladeRF FPGA bitstreams"
HOMEPAGE="http://nuand.com/fpga.php"
#fpga code is open source, but uses a proprietary toolchain to build
#automated builds from git are available, but likely unneeded
#http://hoopycat.com/bladerf_builds/
SRC_URI="x40? ( http://nuand.com/fpga/v${PV}/hostedx40.rbf )
x115? ( http://nuand.com/fpga/v${PV}/hostedx115.rbf )"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+x40 +x115"
DEPEND=""
RDEPEND="${DEPEND}"
S="${DISTDIR}"
src_install() {
insinto /usr/share/Nuand/bladeRF/
use x40 && doins hostedx40.rbf
use x115 && doins hostedx115.rbf
}