# ChangeLog for dev-util/omake
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.9 2006/02/05 00:36:20 mattam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.10 2006/10/09 14:47:44 nattfodd Exp $
+
+*omake-0.9.6.9 (09 Oct 2006)
+
+ 09 Oct 2006; Alexandre Buisse <nattfodd@gentoo.org> -omake-0.9.6.8.ebuild,
+ +omake-0.9.6.9.ebuild:
+ Bump to 0.9.6.9 (bug #112855).
04 Feb 2006; Matthieu Sozeau <mattam@gentoo.org> omake-0.9.6.8.ebuild:
Fix mistake of putting straight into stable.
--- /dev/null
+MD5 81a44fcf8192140b3147ffe849818742 omake-0.9.6.9-1.tar.gz 2046152
+RMD160 312de210feed95e2ac2c70fdee1583f659349684 omake-0.9.6.9-1.tar.gz 2046152
+SHA256 f9a296b06d4a68407ae499f95f601a4a7ba2ca0157b1b03808183ba26e2afc26 omake-0.9.6.9-1.tar.gz 2046152
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/omake-0.9.6.9.ebuild,v 1.1 2006/10/09 14:47:44 nattfodd Exp $
+
+inherit eutils
+
+EXTRAPV="-1"
+DESCRIPTION="Make replacement"
+HOMEPAGE="http://omake.metaprl.org/"
+SRC_URI="http://omake.metaprl.org/downloads/${P}${EXTRAPV}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="fam readline"
+DEPEND=">=dev-lang/ocaml-3.0.8
+ >=sys-libs/ncurses-5.3
+ fam? ( virtual/fam )
+ readline? ( >=sys-libs/readline-4.3 )"
+
+use_boolean() {
+ if use $1; then
+ echo "true"
+ else
+ echo "false"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s/Ae/Aexyz/g" OMakefile
+}
+
+src_compile() {
+ make boot
+
+ cat ${FILESDIR}/omake-config > .config
+ echo "CFLAGS = " ${CFLAGS} > .config
+ echo "FAM_ENABLED = " $(use_boolean fam) > .config
+ echo "READLINE_ENABLED = " $(use_boolean readline) > .config
+
+ PREFIX=/usr OMAKEFLAGS= ./omake-boot --dotomake .omake --force-dotomake -j2 -S --progress main || die "Bootstrapping failed"
+
+
+ PREFIX=/usr OMAKEFLAGS= src/main/omake --dotomake .omake \
+ --force-dotomake -j2 -S --progress all doc \
+ || die "omake failed"
+}
+
+src_install() {
+ INSTALL_ROOT=${D} OMAKEFLAGS= src/main/omake \
+ --dotomake .omake --force-dotomake -j2 install
+}