blob: 96218d9c4d1d81721a764a0879f8dd55bde3de4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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.4 2013/02/05 23:30:47 vapier Exp $
EAPI="4"
inherit eutils
DESCRIPTION="tool for AVR microcontrollers which can interface to many hardware in-system programmers"
HOMEPAGE="http://savannah.nongnu.org/projects/uisp"
SRC_URI="http://savannah.nongnu.org/download/uisp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
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
}
src_install() {
default
dodoc doc/*
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
}
|