diff options
Diffstat (limited to 'dev-util/omake')
-rw-r--r-- | dev-util/omake/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/omake/files/digest-omake-0.9.8.5 | 3 | ||||
-rw-r--r-- | dev-util/omake/omake-0.9.8.5.ebuild | 62 |
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-util/omake/ChangeLog b/dev-util/omake/ChangeLog index 42eaac1e98f5..2ccbd5a4ff92 100644 --- a/dev-util/omake/ChangeLog +++ b/dev-util/omake/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/omake # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.14 2007/08/23 09:07:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.15 2007/08/23 09:16:48 aballier Exp $ + +*omake-0.9.8.5 (23 Aug 2007) + + 23 Aug 2007; Alexis Ballier <aballier@gentoo.org> +omake-0.9.8.5.ebuild: + version bump 23 Aug 2007; Alexis Ballier <aballier@gentoo.org> -omake-0.9.6.9.ebuild, -omake-0.9.8.1.ebuild: diff --git a/dev-util/omake/files/digest-omake-0.9.8.5 b/dev-util/omake/files/digest-omake-0.9.8.5 new file mode 100644 index 000000000000..ac29591f733e --- /dev/null +++ b/dev-util/omake/files/digest-omake-0.9.8.5 @@ -0,0 +1,3 @@ +MD5 d114b3c4201808aacd73ec1a98965c47 omake-0.9.8.5-3.tar.gz 3321245 +RMD160 2364e29a7cc9bd6aaf837818bbe0a64ef4afce14 omake-0.9.8.5-3.tar.gz 3321245 +SHA256 5b675e09f49ff8249a775798f25ab127515cf2fed39527b202784757a35eddad omake-0.9.8.5-3.tar.gz 3321245 diff --git a/dev-util/omake/omake-0.9.8.5.ebuild b/dev-util/omake/omake-0.9.8.5.ebuild new file mode 100644 index 000000000000..92913ed8301e --- /dev/null +++ b/dev-util/omake/omake-0.9.8.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/omake-0.9.8.5.ebuild,v 1.1 2007/08/23 09:16:48 aballier Exp $ + +inherit eutils toolchain-funcs multilib + +EXTRAPV="-3" +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="~amd64 ~ppc ~x86" +IUSE="doc fam ncurses readline" +DEPEND=">=dev-lang/ocaml-3.0.8 + ncurses? ( >=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_compile() { + # Configuration steps... + echo "PREFIX = \$(dir \$\"/usr\")" > .config + echo "BINDIR = \$(dir \$\"\$(PREFIX)/bin\")" >> .config + echo "LIBDIR = \$(dir \$\"\$(PREFIX)/$(get_libdir)\")" >> .config + echo "MANDIR = \$(dir \$\"\$(PREFIX)/man\")" >> .config + + echo "CC = $(tc-getCC)" >> .config + echo "CFLAGS = ${CFLAGS}" >> .config + + echo "NATIVE_ENABLED = true" >> .config + echo "BYTE_ENABLED = false" >> .config + + echo "NATIVE_PROFILE = false" >> .config + + echo "READLINE_ENABLED = $(use_boolean readline)" >> .config + echo "FAM_ENABLED = $(use_boolean fam)" >> .config + echo "NCURSES_ENABLED = $(use_boolean ncurses)" >> .config + + echo "DEFAULT_SAVE_INTERVAL = 60" >> .config + + echo "OCAMLDEP_MODULES_ENABLED = false" >> .config + + emake all || die "compilation failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + dodoc CHANGELOG.txt + if use doc; then + dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt + dohtml -r doc/html/* + fi +} |