/[gentoo-x86]/dev-lang/opendylan/opendylan-9999.ebuild
Gentoo

Contents of /dev-lang/opendylan/opendylan-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Jan 8 09:00:47 2014 UTC (11 months, 1 week ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
Whitespace

(Portage version: 2.2.8/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-9999.ebuild,v 1.7 2014/01/07 05:26:53 patrick Exp $
4 EAPI=4
5
6 inherit autotools git-2
7
8 RESTRICT="test"
9
10 DESCRIPTION="OpenDylan language runtime environment"
11
12 HOMEPAGE="http://opendylan.org"
13 EGIT_HAS_SUBMODULES="1"
14 EGIT_REPO_URI="https://github.com/dylan-lang/opendylan.git"
15
16 LICENSE="Opendylan"
17 SLOT="0"
18
19 IUSE=""
20
21 DEPEND="dev-libs/boehm-gc[threads]
22 dev-lang/perl
23 dev-perl/XML-Parser
24 || ( dev-lang/opendylan-bin dev-lang/opendylan )"
25 RDEPEND="${DEPEND}"
26
27 src_prepare() {
28 mkdir -p build-aux
29 elibtoolize && eaclocal || die "Fail"
30 automake --foreign --add-missing # this one dies wrongfully
31 eautoconf || die "Fail"
32 }
33
34 src_configure() {
35 if has_version =dev-lang/opendylan-bin-2013.2; then
36 PATH=/opt/opendylan-2013.2/bin/:$PATH
37 elif has_version =dev-lang/opendylan-bin-2013.1; then
38 PATH=/opt/opendylan-2013.1/bin/:$PATH
39 elif has_version =dev-lang/opendylan-bin-2012.1; then
40 PATH=/opt/opendylan-2012.1/bin/:$PATH
41 elif has_version =dev-lang/opendylan-bin-2011.1; then
42 PATH=/opt/opendylan-2011.1/bin/:$PATH
43 else
44 PATH=/opt/opendylan/bin/:$PATH
45 fi
46 econf --prefix=/opt/opendylan || die
47 }
48
49 src_compile() {
50 ulimit -s 32000 # this is naughty build system
51 emake || die
52 }
53
54 src_install() {
55 ulimit -s 32000 # this is naughty build system
56 # because of Makefile weirdness it rebuilds quite a bit here
57 # upstream has been notified
58 emake -j1 DESTDIR="${D}" install
59 mkdir -p "${D}/etc/env.d/opendylan/"
60 echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/opendylan" || die "Failed to add env settings"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20