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
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# 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}"
}