summaryrefslogtreecommitdiff
blob: 035f94074814ed9f86d9f59d8071537b46c999d8 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20050513.ebuild,v 1.1 2005/06/17 11:04:15 brix Exp $

inherit toolchain-funcs

MY_P=acpica-unix-${PV}
S=${WORKDIR}/${MY_P}

DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
HOMEPAGE="http://www.intel.com/technology/iapc/acpi/"
SRC_URI="http://www.intel.com/technology/iapc/acpi/downloads/${MY_P}.tar.gz"

LICENSE="iASL"
SLOT="0"
KEYWORDS="~x86"

IUSE=""
DEPEND="sys-devel/bison
		sys-devel/flex"
RDEPEND=""

src_compile() {
	cd ${S}/compiler
	emake -j1 CC=$(tc-getCC) || die "emake failed"
}

src_install() {
	dobin compiler/iasl

	dodoc ${S}/README
}