net-wireless/md380tools - 9999 (pentoo)

Search

Install

Install this version:

emerge -a =net-wireless/md380tools-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-wireless/md380tools-9999

Or alternatively:

emerge --autounmask-write -a =net-wireless/md380tools-9999

Package Information

Description:
Python tools and patched firmware for the TYT-MD380
Homepage:
https://github.com/travisgoodspeed/md380tools
License:
IPA BSD

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

DESCRIPTION="Python tools and patched firmware for the TYT-MD380"
HOMEPAGE="https://github.com/travisgoodspeed/md380tools"
EGIT_REPO_URI="https://github.com/travisgoodspeed/md380tools.git"

LICENSE="IPA BSD"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
PDEPEND="sys-devel/gcc-arm-none-eabi"

src_compile() {
	true
}

src_install() {
	rm 99-md380.rules
	dodir /usr/sbin
	cat <<-EOF > "${ED}"/usr/sbin/md380-make
	#!/bin/sh
	pushd "/usr/share/${PN}"
	make -f Makefile "\$@"
	EOF
	fperms +x /usr/sbin/md380-make

	dodir "/usr/share/${PN}"
	cp -r * "${ED}/usr/share/${PN}"
}

Inherited Eclasses