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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Dec 23 10:54:42 2012 UTC (19 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Initial import, ebuild by me

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yafu/yafu-1.33.ebuild,v 1.1 2012/11/19 07:41:56 patrick Exp $
4
5 EAPI=4
6 DESCRIPTION="Relative Expression-Based Object Language"
7 HOMEPAGE="http://rebol.com"
8
9 MY_PR=${PVR/3_pre/}
10 EGIT_REPO_URI="git://github.com/rebol/r3.git"
11
12 inherit eutils git-2
13
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 #KEYWORDS="~amd64 ~x86"
17 # live ebuild
18 KEYWORDS=""
19 IUSE=""
20
21 #DEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )"
22 # usual bootstrap problems
23 DEPEND="|| ( dev-lang/rebol dev-lang/rebol-bin )"
24 RDEPEND="${DEPEND}"
25
26 src_prepare() {
27 sed -i -e 's/$(STRIP) r3//' make/makefile || die
28 }
29
30 src_compile() {
31 cd make
32 # silly build system. Prefer prebuilt for now
33 [[ -f /opt/rebol/r3 ]] && cp /opt/rebol/r3 ./r3-make || cp /usr/bin/r3 ./r3-make
34 make prep || die
35 make || die
36 }
37
38 src_install() {
39 mkdir -p "${D}/usr/bin"
40 cp "${S}/make/r3" "${D}/usr/bin/r3" || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20