summaryrefslogtreecommitdiff
blob: 15d46b6a2dbea11ed62148325b1e3e37ca041bde (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/as11/as11-1.0.ebuild,v 1.9 2010/10/02 14:52:28 tomjbe Exp $

EAPI="2"

inherit toolchain-funcs

DESCRIPTION="Motorola's AS11 Assembler for the 68HC11"
HOMEPAGE="http://www.ai.mit.edu/people/rsargent/as11.html"
SRC_URI="http://www.ai.mit.edu/people/rsargent/source/${PN}_src.tar.gz"
LICENSE="freedist"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

S=${WORKDIR}/${PN}

DEPEND=""
RDEPEND=""

src_prepare() {
	sed -i -e "s/ -o/\$(LDFLAGS) -o/g" Makefile || die
}

src_compile() {
	emake CC="$(tc-getCC)" || die "Compile failed"
}

src_install() {
	dobin as11
	dodoc as11.doc CHANGELOG README
}