diff --git a/dev-embedded/mphidflash/Manifest b/dev-embedded/mphidflash/Manifest deleted file mode 100644 index 7926fbcc3..000000000 --- a/dev-embedded/mphidflash/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mphidflash-1.8-src.tar.gz 28000 BLAKE2B d38a76c888b30efcf5e9754abda39da78ed19badda3e270b52b89c2cce04ed5a9fc173be05fe41d42af0f83e08cedf6b8ff088e9e00c102b1d1b095d3f7e801e SHA512 09a6d0bd0809cd6cb4e0b26fbe83282f54a43649e72ebcbe13978d0610c24f1072c6447910f4aa768e9fc34390ad3eb526e8d29f281a57b428374d89f423db22 diff --git a/dev-embedded/mphidflash/files/mphidflash-1.6-makefile.patch b/dev-embedded/mphidflash/files/mphidflash-1.6-makefile.patch deleted file mode 100644 index 815756085..000000000 --- a/dev-embedded/mphidflash/files/mphidflash-1.6-makefile.patch +++ /dev/null @@ -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 diff --git a/dev-embedded/mphidflash/files/mphidflash-1.8-makefile.patch b/dev-embedded/mphidflash/files/mphidflash-1.8-makefile.patch deleted file mode 100644 index 8c4022d07..000000000 --- a/dev-embedded/mphidflash/files/mphidflash-1.8-makefile.patch +++ /dev/null @@ -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 diff --git a/dev-embedded/mphidflash/metadata.xml b/dev-embedded/mphidflash/metadata.xml deleted file mode 100644 index ace7c2d3a..000000000 --- a/dev-embedded/mphidflash/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - unknown@pentoo.ch - Author Unknown - - diff --git a/dev-embedded/mphidflash/mphidflash-1.8.ebuild b/dev-embedded/mphidflash/mphidflash-1.8.ebuild deleted file mode 100644 index 51e4451d8..000000000 --- a/dev-embedded/mphidflash/mphidflash-1.8.ebuild +++ /dev/null @@ -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} -}