gputils-0.13.7.ebuild 623 B

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