summaryrefslogtreecommitdiff
blob: 12e40326a0a036d67f2ef287377bd087dd4c3b37 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/ncc/ncc-1.1.15.ebuild,v 1.3 2006/11/14 21:36:57 sanchan Exp $

CVS_MONTH="Dec"
CVS_YEAR="2005"
MY_P="tinyos"

DESCRIPTION="A TinyOS frontend for nesC compiler"
HOMEPAGE="http://www.tinyos.net/"
SRC_URI="http://www.tinyos.net/dist-1.1.0/tinyos/source/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs.tar.gz"
LICENSE="Intel"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND=">=dev-lang/perl-5.8.5-r2
	>=sys-devel/autoconf-2.53
	>=sys-devel/automake-1.5
	>=dev-tinyos/nesc-1.2.1
	>=dev-tinyos/tos-1.1.15"

RDEPEND=">=dev-tinyos/nesc-1.2.1
	>=dev-tinyos/tos-1.1.15
	>=dev-lang/perl-5.8.5-r2"

IUSE=""

S=${WORKDIR}/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs/tools/src/ncc

src_compile() {
	./Bootstrap || die "Bootstrap failed"
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed"
}