portapack-firmware: of course this doesn't work, but it should :-)

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-09-23 21:57:50 -04:00
parent 52204d49f6
commit e35c71f164
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -1,10 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
DESCRIPTION="Custom firmware for the HackRF SDR + PortaPack H1 addon"
HOMEPAGE="https://github.com/furrtek/portapack-havoc/wiki"
DESCRIPTION="Portability Add-On for the HackRF Software-Defined Radio"
HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/"
LICENSE="GPL-2"
SLOT="0"
@ -14,7 +14,6 @@ if [ "${PV}" == "99999999" ]; then
DEPEND="sys-devel/gcc-arm-none-eabi"
inherit git-r3 cmake-utils
EGIT_REPO_URI="https://github.com/sharebrained/portapack-hackrf.git"
EGIT_BRANCH="to_git_module"
KEYWORDS=""
else
KEYWORDS="~amd64 ~arm ~x86"
@ -23,11 +22,6 @@ fi
PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1
>=app-mobilephone/dfu-util-0.7"
src_prepare() {
sed -i 's#load#safe_load#' hackrf/firmware/libopencm3/scripts/irq2nvic_h || die
cmake-utils_src_prepare
}
src_configure() {
if [ "${PV}" = "99999999" ]; then
#strip-flags