mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-embedded/minipro: new package, add 0.7.2, 9999
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/35158 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
4d8c44e876
commit
bc6b36c53f
1
dev-embedded/minipro/Manifest
Normal file
1
dev-embedded/minipro/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST minipro-0.7.2.tar.bz2 287826 BLAKE2B 1a2ae2ddbf4249044dcf68a19596f7013824d314547cc30687b8fc87d77710307f6b9caffaab444c46d494d3e3bf8728dd35ec56776b378c61b588f83363e127 SHA512 386fc73fe6d2574f131e5fa407f460a4800934df9be4ba27d933759af150866b570951624fef341c7122aa998f167cc89b39f6c6c39c27570e3581ff928abd2f
|
||||
15
dev-embedded/minipro/metadata.xml
Normal file
15
dev-embedded/minipro/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>mario.haustein@hrz.tu-chemnitz.de</email>
|
||||
<name>Mario Haustein</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">DavidGriffith/minipro</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
48
dev-embedded/minipro/minipro-0.7.2.ebuild
Normal file
48
dev-embedded/minipro/minipro-0.7.2.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 2024 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
|
||||
}
|
||||
48
dev-embedded/minipro/minipro-9999.ebuild
Normal file
48
dev-embedded/minipro/minipro-9999.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 2024 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
|
||||
}
|
||||
Reference in New Issue
Block a user