mphidflash: drop unmaintained

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-09-06 09:30:10 -04:00
parent 8fe89559d4
commit 82d851df5e
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
5 changed files with 0 additions and 114 deletions

View file

@ -1 +0,0 @@
DIST mphidflash-1.8-src.tar.gz 28000 BLAKE2B d38a76c888b30efcf5e9754abda39da78ed19badda3e270b52b89c2cce04ed5a9fc173be05fe41d42af0f83e08cedf6b8ff088e9e00c102b1d1b095d3f7e801e SHA512 09a6d0bd0809cd6cb4e0b26fbe83282f54a43649e72ebcbe13978d0610c24f1072c6447910f4aa768e9fc34390ad3eb526e8d29f281a57b428374d89f423db22

View file

@ -1,34 +0,0 @@
diff -Naur work/Makefile work-sane/Makefile
--- work/Makefile 2015-07-06 15:18:23.976630752 -0400
+++ work-sane/Makefile 2015-07-06 15:18:45.810630212 -0400
@@ -1,9 +1,9 @@
VERSION_MAIN = 1
VERSION_SUB = 6
-CC = gcc
+CC ?= gcc
OBJS = main.o hex.o
-EXECPATH = binaries
+EXECPATH = .
DISTPATH = dist
ifeq ($(shell uname -s),Darwin)
@@ -15,8 +15,8 @@
else
# Rules for Linux, etc.
OBJS += usb-libusb.o
- CFLAGS = -O3
- LDFLAGS = -lusb
+ CFLAGS ?= -O3
+ LDFLAGS += -lusb
SYSTEM = linux
endif
@@ -44,7 +44,6 @@
mphidflash: $(OBJS)
$(CC) $(OBJS) $(LDFLAGS) -o $(EXECPATH)/$(EXEC)
- strip $(EXECPATH)/$(EXEC)
install:
@echo

View file

@ -1,33 +0,0 @@
--- Makefile.orig 2016-05-22 01:13:28.000000000 +0800
+++ Makefile 2017-03-24 11:18:43.151771889 +0800
@@ -1,9 +1,9 @@
VERSION_MAIN = 1
VERSION_SUB = 8
-CC = gcc
+CC ?= gcc
OBJS = main.o hex.o
-EXECPATH = binaries
+EXECPATH = .
DISTPATH = dist
STRIP := strip
@@ -16,8 +16,8 @@
else
# Rules for Linux, etc.
OBJS += usb-libusb.o
- CFLAGS = -O3
- LDFLAGS = -lusb
+ CFLAGS ?= -O3
+ LDFLAGS += -lusb
SYSTEM = linux
endif
@@ -46,7 +46,6 @@
mphidflash: $(OBJS)
$(CC) $(OBJS) $(LDFLAGS) -o $(EXECPATH)/$(EXEC)
- $(STRIP) $(EXECPATH)/$(EXEC)
install:
@echo

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
</pkgmetadata>

View file

@ -1,38 +0,0 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
DESCRIPTION="Tool for communicating with the USB-Bootloader in PIC microcontrollers"
HOMEPAGE="https://github.com/ApertureLabsLtd/mphidflash"
#SRC_URI="http://dev.pentoo.ch/~zero/distfiles/${P}-src.tar.gz"
#https://github.com/ApertureLabsLtd/mphidflash/issues/23
SRC_URI="https://github.com/ApertureLabsLtd/mphidflash/raw/master/dist/${P}-src.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
DEPEND="virtual/libusb:0
dev-libs/libhid"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_prepare() {
epatch "${FILESDIR}"/"${P}"-makefile.patch
default
}
src_compile() {
use x86 && emake mphidflash32
use amd64 && emake mphidflash64
}
src_install() {
use x86 && newbin ${P}-linux-32 ${PN}
use amd64 && newbin ${P}-linux-64 ${PN}
}