Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/confluence
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/confluence/ChangeLog,v 1.6 2008/01/06 20:19:37 aballier Exp $
*confluence-0.10.6 (06 Jan 2008)
06 Jan 2008; Alexis Ballier
+confluence-0.10.6.ebuild:
version bump, allow to build without ocamlopt, install machine independant
stuff in /usr/share
20 Jun 2006; Mike Doty
~amd64 added
10 Sep 2005; Aron Griffis
Mark 0.9.1 stable on alpha
01 Apr 2005; Aron Griffis
stable on ia64
09 Aug 2004; Michael Sterrett
confluence-0.9.1.ebuild:
header fix; tidy
*confluence-0.9.1 (09 Aug 2004)
09 Aug 2004; Matthieu Sozeau
+confluence-0.9.1.ebuild:
Confluence is a high-level language for synchronous reactive system design.
Ebuild submitted by Tom Hawkins
DIST confluence-0.10.6.tar.gz 118762 RMD160 a3aaebf4f8d4e80f72d810d60388a69877b9c26b SHA1 99c99705e6eea1739b1c93c32c03b7372231dd4f SHA256 7ab76a4183dae9f2429df5cb07b0df293c50cd947e3c051a6784561e8d3b3273
DIST confluence-0.9.1.tar.gz 224326 RMD160 adf701cd9cbb406d18743831fe8227dc66ba4980 SHA1 3a6af3b87a41b11fa76133bff20ab023001480b0 SHA256 403de0ddd82822a170dc2b59bc93a852942b108070886f981cb86e35fbfbbb52
EBUILD confluence-0.10.6.ebuild 2010 RMD160 55bfd914863196094346be14685ac1ee737b8ae1 SHA1 68886064129ad5d4ab7bd6970705ff6288fcec3e SHA256 f2e9558b00175726acd54e0cf5786569390c20b8544a0f481d038a5fec743d2f
EBUILD confluence-0.9.1.ebuild 726 RMD160 4cfd2a59d966f91733aabc36e93d2ee8d9fad3ab SHA1 ffac01d71d5e420b479945ef8498e787e667fc38 SHA256 b127ca07c67083c1e4aa0df442b460f477432d32ed7c7e7b1ba4fd1fa2ee6d6e
MISC ChangeLog 1094 RMD160 35c6bf85ca3e776e247781d340fc3aaf6c10ddd3 SHA1 6fb475846eb3e4b87c1baf8214f9cb00b617f393 SHA256 a9447d88648f648427cf7ced58bb3a878312292de9cc2c07a3f2ff15263eeeb0
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/confluence/confluence-0.10.6.ebuild,v 1.1 2008/01/06 20:19:37 aballier Exp $
inherit eutils
EAPI="1"
DESCRIPTION="a functional programming language for reactive system design (digital logic, hard-real-time software)"
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"
RDEPEND="dev-lang/ocaml"
DEPEND="${RDEPEND}
sys-apps/sed"
pkg_setup() {
if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
eerror "In order to build ${PN} with native code support from ocaml"
eerror "You first need to have a native code ocaml compiler."
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
die "Please install ocaml with ocamlopt useflag"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# 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
}
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/confluence/confluence-0.9.1.ebuild,v 1.5 2006/06/20 14:34:49 kingtaco Exp $
DESCRIPTION="a functional programming language for reactive system design (digital logic, hard-real-time software)"
HOMEPAGE="http://www.confluent.org/"
SRC_URI="http://www.confluent.org/download/confluence/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ia64 ~ppc ~sparc x86"
IUSE=""
DEPEND="dev-lang/ocaml"
src_compile() {
make PREFIX=${D}/usr OCAMLLIB=`ocamlc -where` || die
}
src_install() {
make PREFIX=${D}/usr OCAMLLIB=`ocamlc -where` install || die
dodoc INSTALL NEWS
}