summaryrefslogtreecommitdiff
blob: b03c1819989a8c003bff7e42194dbbb8e8f8b9d2 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/falcon/falcon-0.9.4.4.ebuild,v 1.1 2009/11/11 18:18:42 vostorga Exp $

MY_P=${P/f/F}

DESCRIPTION="An open source general purpose untyped language written in C++"
HOMEPAGE="http://falconpl.org/"
SRC_URI="http://falconpl.org/project_dl/_official_rel/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-libs/libpcre
	sys-libs/zlib"
DEPEND="${RDEPEND}
	dev-util/cmake"

S=${WORKDIR}/${MY_P}

src_compile() {
	./build.sh -p "${D}usr" -f "/usr" || die "build.sh failed"
}

src_test() {
	FALCON_LOAD_PATH=".;${S}/devel/release/build/core/rtl" \
		"${S}/devel/release/build/core/clt/faltest/faltest" \
		-d "${S}/core/tests/testsuite" \
		|| die "faltest failed"
}

src_install() {
	./build.sh -i || die "build.sh -i failed"
	dodoc AUTHORS ChangeLog README RELNOTES
}