summaryrefslogtreecommitdiff
blob: 5f53da3094a030561bdb1cda7a343e48532644d3 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tavrasm/tavrasm-1.22.ebuild,v 1.1 2005/09/16 12:33:08 hansmi Exp $

inherit versionator

DESCRIPTION="Compiles code written for Atmels AVR DOS assembler"
HOMEPAGE="http://www.tavrasm.org/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND="
	sys-devel/bison
	sys-devel/flex"

S="${WORKDIR}/${PN}.$(delete_all_version_separators ${PV})"

src_compile() {
	cd src

	# The Makefile of tavrasm is stupid, hence the -j1
	emake -j1 || die "Compilation failed"
}

src_install() {
	dobin src/tavrasm
	doman tavrasm.1
	dodoc README
}