From 2eac0fb6db54c993dc3feb3d50d26b21a294c96d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 5 Feb 2013 23:30:47 +0000 Subject: Update to EAPI=4 and drop useless depends #455726 by Christoph Junghans. (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) --- dev-embedded/uisp/ChangeLog | 8 +++++--- dev-embedded/uisp/uisp-20050207-r1.ebuild | 29 ++++++++++------------------- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/dev-embedded/uisp/ChangeLog b/dev-embedded/uisp/ChangeLog index 3503e22398e7..4c24d1117c51 100644 --- a/dev-embedded/uisp/ChangeLog +++ b/dev-embedded/uisp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-embedded/uisp -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/uisp/ChangeLog,v 1.15 2007/10/20 20:58:26 calchan Exp $ +# Copyright 2000-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/uisp/ChangeLog,v 1.16 2013/02/05 23:30:47 vapier Exp $ + + 05 Feb 2013; Mike Frysinger uisp-20050207-r1.ebuild: + Update to EAPI=4 and drop useless depends #455726 by Christoph Junghans. 20 Oct 2007; Denis Dupeyron -files/uisp-gcc34.patch, -uisp-20040311.ebuild, uisp-20050207-r1.ebuild: @@ -58,4 +61,3 @@ 28 Oct 2003; Robin H. Johnson metadata.xml, uisp-20030618.ebuild: initial commit, bug #23651 submitted by Wolf Goetze - diff --git a/dev-embedded/uisp/uisp-20050207-r1.ebuild b/dev-embedded/uisp/uisp-20050207-r1.ebuild index 686cc0e9f04b..96218d9c4d1d 100644 --- a/dev-embedded/uisp/uisp-20050207-r1.ebuild +++ b/dev-embedded/uisp/uisp-20050207-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/uisp/uisp-20050207-r1.ebuild,v 1.3 2007/10/20 20:58:26 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/uisp/uisp-20050207-r1.ebuild,v 1.4 2013/02/05 23:30:47 vapier Exp $ + +EAPI="4" inherit eutils @@ -13,26 +15,15 @@ SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" -DEPEND="sys-apps/gawk - sys-devel/gcc" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}"/src +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 -} - -src_compile() { - econf || die "configure failed" - emake || die "make failed" + sed -i -e 's: -Werror::' Makefile.in || die } src_install() { - emake DESTDIR="${D}" install || die "install failed" + default dodoc doc/* - mv "${D}"/usr/share/doc/${P}/{AUTHORS,ChangeLog,CHANGES,TODO}* "${D}"/usr/share/doc/${PF} - rm -rf "${D}"/usr/share/doc/${P} - prepalldocs + rm "${ED}"/usr/share/doc/${PF}/COPYING* || die } -- cgit v1.2.3-65-gdbad