dev-embedded/minipro: add 0.7.4

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/43384
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein
2025-08-08 08:18:06 +02:00
committed by Sam James
parent 0fc8eb3669
commit 79142e207a
2 changed files with 49 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST minipro-0.7.2.tar.bz2 287826 BLAKE2B 1a2ae2ddbf4249044dcf68a19596f7013824d314547cc30687b8fc87d77710307f6b9caffaab444c46d494d3e3bf8728dd35ec56776b378c61b588f83363e127 SHA512 386fc73fe6d2574f131e5fa407f460a4800934df9be4ba27d933759af150866b570951624fef341c7122aa998f167cc89b39f6c6c39c27570e3581ff928abd2f
DIST minipro-0.7.3.tar.bz2 345229 BLAKE2B 0fe1b36e18abf2a785f7cb584a38927ef4aba3784047f273bcf050d107d525a812272355bd83cbaeb34529dae4df18a9cd099647df8b21a52d46f049eacc518e SHA512 14df5329f0cdfd3b0456db2d5b09079a841fe2c09e1410b4bb3e8ef58b8d566358eb9afc585bcb5de1e3929ed1819e259e7bb92894b35e6a8aa0aa7c259acde2
DIST minipro-0.7.4.tar.bz2 346641 BLAKE2B c6f5b6e622224fa21fee788737eda4a71b0db25fe795a6afbb8a906c7733958ad8484881ea89468b2f14f2419ca6eab598879e35e8af9cef81d5f0ad2043c670 SHA512 b6d995d82b9da0e213b2418cc46065135c7249bdcae6648e63dbcba6b2b72ad51bd09e988012172a41ff5faaa6bb2c250fc84206b0929cba2f9f4533c950675e

View File

@@ -0,0 +1,48 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 toolchain-funcs udev
DESCRIPTION="A program for controlling the MiniPRO TL866xx series of chip programmers"
HOMEPAGE="https://gitlab.com/DavidGriffith/minipro/"
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://gitlab.com/DavidGriffith/minipro.git"
inherit git-r3
else
SRC_URI="https://gitlab.com/DavidGriffith/minipro/-/archive/${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
DEPEND="
virtual/libusb:=
"
RDEPEND="${DEPEND}"
BDEPEND="
virtual/pkgconfig
"
src_compile()
{
emake CC=$(tc-getCC) PREFIX="${EPREFIX}/usr" COMPLETIONS_DIR="$(get_bashcompdir)"
}
src_install()
{
emake CC=$(tc-getCC) DESTDIR="${D}" PREFIX="${EPREFIX}/usr" COMPLETIONS_DIR="$(get_bashcompdir)" install
}
pkg_postinst()
{
udev_reload
}
pkg_postrm()
{
udev_reload
}