summaryrefslogtreecommitdiff
path: root/dev-embedded/uisp/uisp-20050207-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /dev-embedded/uisp/uisp-20050207-r1.ebuild
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-embedded/uisp/uisp-20050207-r1.ebuild')
-rw-r--r--dev-embedded/uisp/uisp-20050207-r1.ebuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/dev-embedded/uisp/uisp-20050207-r1.ebuild b/dev-embedded/uisp/uisp-20050207-r1.ebuild
index 2a92a428cdd4..3db55410303d 100644
--- a/dev-embedded/uisp/uisp-20050207-r1.ebuild
+++ b/dev-embedded/uisp/uisp-20050207-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=7
-inherit eutils
+inherit autotools
DESCRIPTION="Tool for programming AVR microcontroller through the parallel port"
HOMEPAGE="https://savannah.nongnu.org/projects/uisp"
@@ -12,17 +12,19 @@ SRC_URI="https://savannah.nongnu.org/download/uisp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
-IUSE=""
+
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-mega-48-88-168.patch
+ "${FILESDIR}"/${P}-clang.patch
+)
src_prepare() {
- sed -i -e "/^DOC_INST_DIR/s:/[^/]*$:/${PF}:" Makefile.in || die
- cd src
- epatch "${FILESDIR}"/mega-48-88-168.patch
- sed -i -e 's: -Werror::' Makefile.in || die
+ default
+ eautoreconf
}
src_install() {
default
- dodoc doc/*
- rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
+ dodoc -r doc/.
}