blob: 686cc0e9f04b31cf0e8f63d75f9e9be7709d3ba0 (
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
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2007 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 $
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=""
DEPEND="sys-apps/gawk
sys-devel/gcc"
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"/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"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
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
}
|