diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/rebol/rebol-9999.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/rebol/rebol-9999.ebuild')
-rw-r--r-- | dev-lang/rebol/rebol-9999.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/rebol/rebol-9999.ebuild b/dev-lang/rebol/rebol-9999.ebuild new file mode 100644 index 000000000000..61a797190ae6 --- /dev/null +++ b/dev-lang/rebol/rebol-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +DESCRIPTION="Relative Expression-Based Object Language" +HOMEPAGE="http://rebol.com" + +MY_PR=${PVR/3_pre/} +EGIT_REPO_URI="https://github.com/rebol/r3.git" + +inherit eutils git-2 + +LICENSE="Apache-2.0" +SLOT="0" +#KEYWORDS="~amd64 ~x86" +# live ebuild +KEYWORDS="" +IUSE="" + +# usual bootstrap problems +DEPEND="|| ( dev-lang/rebol dev-lang/rebol-bin )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's/$(STRIP) r3//' make/makefile || die +} + +src_compile() { + cd make + # silly build system. Prefer prebuilt for now + [[ -f /opt/rebol/r3 ]] && cp /opt/rebol/r3 ./r3-make || cp /usr/bin/r3 ./r3-make + make prep || die + make || die +} + +src_install() { + mkdir -p "${D}/usr/bin" + cp "${S}/make/r3" "${D}/usr/bin/r3" || die +} |