diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-11-20 17:28:45 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-11-20 17:28:45 +0000 |
commit | 41a6a78044d689bfb90ba2177c16559e85835519 (patch) | |
tree | ea37205d7cac219dbca260a253b14f77dfb6344c /dev-util/omake | |
parent | Remove redundant version. (diff) | |
download | gentoo-2-41a6a78044d689bfb90ba2177c16559e85835519.tar.gz gentoo-2-41a6a78044d689bfb90ba2177c16559e85835519.tar.bz2 gentoo-2-41a6a78044d689bfb90ba2177c16559e85835519.zip |
version bump
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/omake')
-rw-r--r-- | dev-util/omake/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch | 13 | ||||
-rw-r--r-- | dev-util/omake/omake-0.9.8.6.0_rc1.ebuild | 78 |
3 files changed, 99 insertions, 2 deletions
diff --git a/dev-util/omake/ChangeLog b/dev-util/omake/ChangeLog index 87b719174bd1..71f92dd9697a 100644 --- a/dev-util/omake/ChangeLog +++ b/dev-util/omake/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/omake -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.21 2009/10/27 11:54:51 aballier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/omake/ChangeLog,v 1.22 2010/11/20 17:28:45 aballier Exp $ + +*omake-0.9.8.6.0_rc1 (20 Nov 2010) + + 20 Nov 2010; Alexis Ballier <aballier@gentoo.org> + +omake-0.9.8.6.0_rc1.ebuild, +files/omake-0.9.8.6.0_rc1-warnerror.patch: + version bump 27 Oct 2009; Alexis Ballier <aballier@gentoo.org> omake-0.9.8.5.ebuild, +files/omake-0.9.8.5-caml_sync.patch, diff --git a/dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch b/dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch new file mode 100644 index 000000000000..f506787b8d8a --- /dev/null +++ b/dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch @@ -0,0 +1,13 @@ +Index: omake-0.9.8.6/lib/build/OCaml.om +=================================================================== +--- omake-0.9.8.6.orig/lib/build/OCaml.om ++++ omake-0.9.8.6/lib/build/OCaml.om +@@ -176,7 +176,7 @@ public.PREFIXED_OCAMLPACKS =\ + # + declare OCAMLDEPFLAGS + public.OCAMLPPFLAGS = +-public.OCAMLFLAGS = -warn-error A ++public.OCAMLFLAGS = + public.OCAMLCFLAGS = -g + public.OCAMLOPTFLAGS = + public.OCAMLCPPFLAGS = diff --git a/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild new file mode 100644 index 000000000000..49ca48ef3bd9 --- /dev/null +++ b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2010 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.6.0_rc1.ebuild,v 1.1 2010/11/20 17:28:45 aballier Exp $ + +EAPI=2 +inherit toolchain-funcs multilib versionator eutils + +MY_PV=$(replace_version_separator 5 '.' "$(replace_version_separator 4 '-' )") +RESTRICT="installsources" +DESCRIPTION="Make replacement" +HOMEPAGE="http://omake.metaprl.org/" +SRC_URI="http://omake.metaprl.org/downloads/${PN}-${MY_PV}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc fam ncurses +ocamlopt readline" +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] + ncurses? ( >=sys-libs/ncurses-5.3 ) + fam? ( virtual/fam ) + readline? ( >=sys-libs/readline-4.3 )" + +S=${WORKDIR}/${PN}-${MY_PV%-*} + +use_boolean() { + if use $1; then + echo "true" + else + echo "false" + fi +} + +src_prepare() { + epatch "${FILESDIR}/${P}-warnerror.patch" +} + +src_configure() { + # 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 + + if use ocamlopt; then + echo "NATIVE_ENABLED = true" >> .config + echo "BYTE_ENABLED = false" >> .config + else + echo "NATIVE_ENABLED = false" >> .config + echo "BYTE_ENABLED = true" >> .config + fi + + 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 +} + +src_compile() { + 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 + use ocamlopt || export STRIP_MASK="*/bin/*" +} |