/[gentoo-x86]/dev-lang/falcon/falcon-0.9.6.4.ebuild
Gentoo

Contents of /dev-lang/falcon/falcon-0.9.6.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 25 05:44:04 2010 UTC (2 years, 11 months ago) by reavertm
Branch: MAIN
CVS Tags: HEAD
Version bump 0.9.6.4, also fix bug 312401
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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 $
4
5 EAPI="2"
6
7 inherit cmake-utils multilib
8
9 MY_P=${P/f/F}
10
11 DESCRIPTION="An open source general purpose untyped language written in C++"
12 HOMEPAGE="http://falconpl.org/"
13 SRC_URI="http://falconpl.org/project_dl/_official_rel/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="debug readline"
19
20 DEPEND="
21 dev-libs/libpcre
22 sys-libs/zlib
23 readline? ( sys-libs/readline )
24 "
25 RDEPEND="${DEPEND}"
26
27 S=${WORKDIR}/${MY_P}
28
29 DOCS="AUTHORS ChangeLog README RELNOTES"
30
31 src_configure() {
32 mycmakeargs=(
33 -DFALCON_DISABLE_RPATH=ON
34 -DFALCON_LIB_DIR=$(get_libdir)
35 -DFALCON_SKIP_BISON=ON
36 -DFALCON_WITH_MANPAGES=ON
37 -DFALCON_WITH_INTERNAL_PCRE=OFF
38 -DFALCON_WITH_INTERNAL_ZLIB=OFF
39 -DFALCON_WITH_GPL_READLINE=ON
40 $(cmake-utils_use readline FALCON_WITH_EDITLINE)
41 )
42 cmake-utils_src_configure
43 }
44
45 src_test() {
46 FALCON_LOAD_PATH=".;${CMAKE_BUILD_DIR}/core/clt"
47 for testsuite in "${S}/core/tests/testsuite" "${S}/modules/feathers/tests/testsuite"; do
48 "${CMAKE_BUILD_DIR}/core/clt/faltest/faltest" \
49 -d "${testsuite}" || die "faltest in ${testsuite} failed"
50 done
51 }

  ViewVC Help
Powered by ViewVC 1.1.13