tkurbad-overlay/sci-electronics/minipro/minipro-9999.ebuild

40 lines
784 B
Bash
Raw Normal View History

2018-09-17 17:54:09 +02:00
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
2021-01-12 10:16:23 +01:00
EAPI=6
2018-09-17 17:54:09 +02:00
2021-01-12 10:16:23 +01:00
inherit eutils bash-completion-r1 git-r3 udev
2018-09-17 17:54:09 +02:00
DESCRIPTION="A free and open TL866XX programmer"
2018-09-19 17:10:15 +02:00
HOMEPAGE="https://gitlab.com/DavidGriffith/minipro"
EGIT_REPO_URI="https://gitlab.com/DavidGriffith/minipro.git"
2018-09-17 17:54:09 +02:00
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
2021-01-03 00:26:52 +01:00
RDEPEND="virtual/libusb:1
virtual/pkgconfig"
2018-09-17 17:54:09 +02:00
DEPEND="${RDEPEND}"
2021-01-12 10:16:23 +01:00
src_prepare() {
epatch "${FILESDIR}/${P}-infoic.patch" || die
default
}
2021-01-03 00:26:52 +01:00
src_compile() {
PREFIX=/usr emake || die
}
2018-09-17 17:54:09 +02:00
src_install() {
2018-09-19 17:10:15 +02:00
dobin ${PN}{,hex}
2019-07-12 14:06:44 +02:00
udev_dorules udev/60-${PN}.rules
udev_dorules udev/61-${PN}-{plugdev,uaccess}.rules
2018-09-17 17:54:09 +02:00
doman man/${PN}.1
dobashcomp bash_completion.d/${PN}
2020-12-29 00:45:08 +01:00
insinto /usr/share/minipro
doins infoic.xml
2018-09-17 17:54:09 +02:00
}