summaryrefslogtreecommitdiff
blob: 485db979d383d0e3aa6eb97e14d078d5ec2479da (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
39
40
41
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avra/avra-1.0.1.ebuild,v 1.2 2006/01/21 14:54:31 pylon Exp $

DESCRIPTION="Atmel AVR Assembler"
HOMEPAGE="http://avra.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE="doc"

DEPEND=""
RDEPEND=""

src_unpack() {
	mkdir ${S}
	cd ${S}
	unpack ${A}
}

src_compile() {
	cd ${S}/SOURCE
	make all
}

src_install() {
	cd ${S}/SOURCE
	into /usr
	dobin avra

	cd ${S}
	into /usr
	dodoc COPYING ChangeLog README

	if use doc ; then
		docinto TEST
		dodoc TEST/*
	fi
}