sci-electronics/minipro: newer version than what's in the science overlay

This commit is contained in:
2024-04-17 18:45:09 -07:00
parent 8febe0c0f3
commit ffb421ffed
5 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
BDEPEND=virtual/pkgconfig
DEFINED_PHASES=postinst postrm
DEPEND=virtual/libusb:1
DESCRIPTION=A free and open TL866XX programmer
EAPI=8
HOMEPAGE=https://gitlab.com/DavidGriffith/minipro
INHERIT=udev
KEYWORDS=~amd64
LICENSE=GPL-3
RDEPEND=virtual/libusb:1
SLOT=0
SRC_URI=https://gitlab.com/DavidGriffith/minipro/-/archive/0.7/minipro-0.7.tar.gz
_eclasses_=multilib c19072c3cd7ac5cb21de013f7e9832e0 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 udev eec0bbab06977f1cfc5597269c1fa152
_md5_=ee5a29b23e792a677fe3ad9ade042308

View File

@@ -0,0 +1 @@
DIST minipro-0.7.tar.gz 501433 BLAKE2B 4dfee3db38b9c73727791388e8efb035858a600337902c96ed5c85f4f583c6dbf8a54ef0d94c1f128ed989a68c1d9834771020b998558c98caeb61177ae0a1fa SHA512 41b3d720dbff227d06e579ecc9eb0dbdfd173a281bf4988bcd8563e1ed9a50424714fff2b7186aebf181a845396b20f9cbe99b35739a45c499440345c4a78759

View File

@@ -0,0 +1,11 @@
--- minipro-0.7/Makefile 2024-04-11 11:08:29.000000000 -0700
+++ minipro-0.7/Makefile 2024-04-17 18:42:07.004986453 -0700
@@ -11,7 +11,7 @@
# Normally minipro is installed to /usr/local. If you want to put it
# somewhere else, define that location here.
-PREFIX ?= /usr/local
+PREFIX ?= /usr
MANDIR ?= $(PREFIX)/share/man
# Some older releases of MacOS need some extra library flags.

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-electronics@gentoo.org</email>
<name>Gentoo Electronics Project</name>
</maintainer>
<maintainer type="person">
<email>scott@alfter.us</email>
<name>Scott Alfter</name>
</maintainer>
<longdescription lang="en">
an open-source program for controlling the MiniPRO TL866xx series of chip programmers
</longdescription>
<upstream>
<remote-id type="github">vdudouyt/minipro</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit udev
DESCRIPTION="A free and open TL866XX programmer"
HOMEPAGE="https://gitlab.com/DavidGriffith/minipro"
SRC_URI="https://gitlab.com/DavidGriffith/minipro/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}