gputils-0.13.6-r1.ebuild 672 B

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