dev-embedded/gputils: x86 stable (bug #629936)
[gentoo.git] / dev-embedded / gputils / gputils-0.13.6-r1.ebuild
1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3
4 inherit eutils
5
6 DESCRIPTION="Tools including assembler, linker and librarian for PIC microcontrollers"
7 HOMEPAGE="http://gputils.sourceforge.net/"
8 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="amd64 ppc ppc64 x86"
13 IUSE=""
14
15 DEPEND=""
16 RDEPEND=""
17
18 src_unpack() {
19         unpack ${A}
20         cd "${S}"
21         epatch "${FILESDIR}"/${P}-code_pack.patch
22 }
23
24 src_install() {
25         emake DESTDIR="${D}" install || die "Installation failed"
26         dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/gputils.ps
27         insinto /usr/share/doc/${PF}/
28         doins doc/gputils.pdf
29 }