From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-lang/confluence/Manifest | 5 +++ dev-lang/confluence/confluence-0.10.6.ebuild | 46 ++++++++++++++++++++++++++++ dev-lang/confluence/metadata.xml | 8 +++++ 3 files changed, 59 insertions(+) create mode 100644 dev-lang/confluence/Manifest create mode 100644 dev-lang/confluence/confluence-0.10.6.ebuild create mode 100644 dev-lang/confluence/metadata.xml (limited to 'dev-lang/confluence') diff --git a/dev-lang/confluence/Manifest b/dev-lang/confluence/Manifest new file mode 100644 index 000000000000..9904e98624b8 --- /dev/null +++ b/dev-lang/confluence/Manifest @@ -0,0 +1,5 @@ +DIST confluence-0.10.6.tar.gz 118762 SHA256 7ab76a4183dae9f2429df5cb07b0df293c50cd947e3c051a6784561e8d3b3273 SHA512 904ea553a917ac2aafc33464fe4175bca76c53c51c50819ea92326dd5a1451e98eca6a56db28b7041814e5e4cea61da618012087a79fa9ec670ca67fc0014d25 WHIRLPOOL 74ad34b66a5f38185b00ac955d10da9b81fdba6b6f9422182550eb039d82782bf168e82a8df738a2fa3f2d615fe36bf605feb5c0b0b3b92c9c67132c4d63fc4d +EBUILD confluence-0.10.6.ebuild 1545 SHA256 fee7394c094a567127838f5f3324fae56a687fe51acc37fdde0dcdb400d0ef1e SHA512 62e5ce01609e0593cdb0ec45406f625d4290111bc0066f1cd7fb37036be2521b640816b4e41d79a2cad86b4c0de1360cf7ae3aae47b95e6968c384d66958c1d2 WHIRLPOOL b6713af2ffa421b2ebd555a17b9fa8bd0bd2d665b2a898a2b31a523508bb383edeba3930823832464e183572854c985dcbe40002f7fe56046d462bcb81be2820 +MISC ChangeLog 2438 SHA256 15f57248bc470482c9936310da08d9a244b291a9d2568e0a75cb1eb1c189b8a7 SHA512 dcf7aeaab7f1f7b4e7719b7edf4cb22efb97d191704aeaa45aa10a0d4e10dacf6709ced113c7191a414ab77ed793aab8ea3edfcaa4e19d23a46f1313ab6b7439 WHIRLPOOL 33a754fcb4daffe22098557c2bd7461fd05a9f6d64c28ec9908482cbdef396cb3eb211a5b74a824e1040b67a3efb1efd562ac3a4fc40f02aa45ac1d556eec542 +MISC ChangeLog-2015 1773 SHA256 0e1dc0a590034805e7a878188dc7ffbeb11ff8167f78d58f682ec6715f2d1e06 SHA512 91cb2f36cfe1f40751e1f4762ebfbc895440c5afaf6367276f577053ab83ee7383a9b9cc35c16ac2d7d1651d8f17b64b6bb57472b45d5fdd7a6a6320e51c3596 WHIRLPOOL d327ead0fd9c75571cca4b81998149fb663fae6b79789d1992b19d31bd4a7334f6f79c1ce37ef9548770a5828c74e9aefd5de4b73acfdac3e67f5f622e4d1e97 +MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a diff --git a/dev-lang/confluence/confluence-0.10.6.ebuild b/dev-lang/confluence/confluence-0.10.6.ebuild new file mode 100644 index 000000000000..2743ff5f6152 --- /dev/null +++ b/dev-lang/confluence/confluence-0.10.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils + +DESCRIPTION="Functional programming language for reactive system design" +HOMEPAGE="http://www.funhdl.org/wiki/doku.php?id=confluence" +SRC_URI="http://www.funhdl.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha ~amd64 ia64 ~ppc ~sparc x86" +IUSE="+ocamlopt" + +# min version so we are sure we always have ocamlopt in IUSE +RDEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]" +DEPEND="${RDEPEND} + sys-apps/sed" + +src_prepare() { + # Install non binary stuff in share... + sed -i -e "s:lib/confluence:share/confluence:" Makefile || die "failed to sed the makefile" + sed -i -e "s:lib/confluence:share/confluence:" src/cfeval/cf.ml || die "failed to sed ml files" + sed -i -e "s:lib/confluence:share/confluence:" src/cfeval/cfParserUtil.ml || die "failed to sed ml files" + if ! use ocamlopt; then + sed -i -e "s:cmxa:cma:" src/Makefile || die "failed to disable ocamlopt support" + sed -i -e "s:cmx:cmo:" src/Makefile || die "failed to disable ocamlopt support" + fi +} + +src_compile() { + if use ocamlopt; then + emake -j1 PREFIX="${D}/usr" OCAMLLIB=`ocamlc -where` || die "failed to build" + else + emake -j1 OCAMLOPT="ocamlc" OCAMLC="ocamlc" PREFIX="${D}/usr" OCAMLLIB=`ocamlc -where` || die "failed to build" + fi +} + +src_install() { + emake -j1 PREFIX="${D}/usr" OCAMLLIB=`ocamlc -where` install || die "install failed" + echo "CF_LIB=/usr/share/confluence" > "${T}/99${PN}" + doenvd "${T}/99${PN}" + dodoc NEWS || die +} diff --git a/dev-lang/confluence/metadata.xml b/dev-lang/confluence/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/dev-lang/confluence/metadata.xml @@ -0,0 +1,8 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + -- cgit v1.2.3