diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/omake | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/omake')
-rw-r--r-- | dev-util/omake/Manifest | 1 | ||||
-rw-r--r-- | dev-util/omake/files/omake-0.9.8.6.0_rc1-cflags.patch | 11 | ||||
-rw-r--r-- | dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch | 11 | ||||
-rw-r--r-- | dev-util/omake/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/omake/omake-0.9.8.6.0_rc1.ebuild | 82 |
5 files changed, 110 insertions, 0 deletions
diff --git a/dev-util/omake/Manifest b/dev-util/omake/Manifest new file mode 100644 index 000000000000..270635e27ad5 --- /dev/null +++ b/dev-util/omake/Manifest @@ -0,0 +1 @@ +DIST omake-0.9.8.6-0.rc1.tar.gz 3254283 SHA256 23c498f071723621dd5e1e29c1abefd6937c73c67bb85d223fd514b9ae005ae9 SHA512 10a7ef6746c656d25852d408fafdd67a95acc59b73c892f0dbc316f2a01949b5349d5203c9fe2400cc7c05e14a7b1bc075603bd462ab74b60427d944f8e177d0 WHIRLPOOL d7da243aff8b6ff12f943db997bb644cfb88117b4deadb8ebea698537d864ede4084acc4afe7314a93eb24fa3a4092dbb24ecfb28cabff85c0214a03d89b44c6 diff --git a/dev-util/omake/files/omake-0.9.8.6.0_rc1-cflags.patch b/dev-util/omake/files/omake-0.9.8.6.0_rc1-cflags.patch new file mode 100644 index 000000000000..a6eaf707c971 --- /dev/null +++ b/dev-util/omake/files/omake-0.9.8.6.0_rc1-cflags.patch @@ -0,0 +1,11 @@ +--- a/OMakefile ++++ b/OMakefile +@@ -33,7 +33,7 @@ + # + # Extra options for the C compiler + # +- CFLAGS += -g -O2 -Wall -Werror -Wno-unused ++ CFLAGS += -Wall -Wno-unused + + # + # We never need threads on Unix 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..cf8a7972027d --- /dev/null +++ b/dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch @@ -0,0 +1,11 @@ +--- a/lib/build/OCaml.om ++++ b/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/metadata.xml b/dev-util/omake/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-util/omake/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> 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..b39cf8b8b7bd --- /dev/null +++ b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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 )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${MY_PV%-*} + +use_boolean() { + if use $1; then + echo "true" + else + echo "false" + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-cflags.patch" \ + "${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 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + 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/*" +} |