summaryrefslogtreecommitdiff
path: root/dev-util/omake
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/omake
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/omake')
-rw-r--r--dev-util/omake/Manifest10
-rw-r--r--dev-util/omake/files/omake-0.10.2-cflags.patch13
-rw-r--r--dev-util/omake/files/omake-0.9.8.6.0_rc1-cflags.patch11
-rw-r--r--dev-util/omake/files/omake-0.9.8.6.0_rc1-warnerror.patch11
-rw-r--r--dev-util/omake/metadata.xml8
-rw-r--r--dev-util/omake/omake-0.10.2.ebuild49
-rw-r--r--dev-util/omake/omake-0.9.8.6.0_rc1.ebuild81
7 files changed, 183 insertions, 0 deletions
diff --git a/dev-util/omake/Manifest b/dev-util/omake/Manifest
new file mode 100644
index 000000000000..2acae10bd199
--- /dev/null
+++ b/dev-util/omake/Manifest
@@ -0,0 +1,10 @@
+AUX omake-0.10.2-cflags.patch 353 SHA256 0c4a3d96169595539cbb53b43a14b086366f750d4a47f51edb4d413fb8af380b SHA512 460ff11b457eb99f2d3a89f862deffcddc8ccddfeac7b4c7d5cce78544bb223feffb448cc39c440e03a2d028698180cc7439f3b39dd07ce237cc60cedf7e7d37 WHIRLPOOL 36f17d93a3a1064111054e8543bfb69f50e1e8cdf03c6a64a677009bbba9d6be02cff67cd6d18d0783801921a46d61f531d25e6f0039e9660c8fb83a9f0dade9
+AUX omake-0.9.8.6.0_rc1-cflags.patch 231 SHA256 88e8a494f7591dbd8dc9689820b8ea2f84aaae31c31e48451dbc42eb3fc81424 SHA512 733aeb2288b8c6494eb4a46ceff2a88149477ae95da8470f11fa321b3f1623adae13169effb95f45c16fff893d610af05be54ad892c4d7a97019e2a12fe3d19b WHIRLPOOL 8e59093e87243c20067809a96ed4e982eabb8bdef961796c76468b4d1d59669529a6dce522680ee5f8ea482d53d84a7971a6edc47186324fb019a407afcaeaeb
+AUX omake-0.9.8.6.0_rc1-warnerror.patch 287 SHA256 34e3622e74fb8dc5b2c821fec3e3fb66c6c55a30fabdd8ce91651a61ae315be5 SHA512 0b099c314e2eb19ab48eca873710f3c5716b4a2b82048ddd5baf3b2c7a82de5245ca36f1f72c6dbdbd79bd023de7ab3716a6c46c87986d00db2ec3661daa9d50 WHIRLPOOL 278dde3a985a9f94b3efb4520c4b795932274715a78885304f806322b369c084c905e910eeded529239f819fd1d11dcf261faf6e624e96614af06ba9553f7c36
+DIST omake-0.10.2.tar.gz 2434316 SHA256 c454f20535d91082294b150beebde3d0542f52be81daed17211326f4efa4d6fe SHA512 22c454825287dd54272874ec3aa7c5a79f7eac79e18a3eefd4b2e90a08f9767307b0f627d71049a4c08776c85318ce096e89fcc5619d3ec78cc073744efd0fbd WHIRLPOOL 86078e22c975b03f48968e02722374be61f24f1df9b402eeac87d0305c73e1558f2d9b6e74e419a911f797e74dd330fee192591f695ff2bdfbcfa56a90372a4c
+DIST omake-0.9.8.6-0.rc1.tar.gz 3254283 SHA256 23c498f071723621dd5e1e29c1abefd6937c73c67bb85d223fd514b9ae005ae9 SHA512 10a7ef6746c656d25852d408fafdd67a95acc59b73c892f0dbc316f2a01949b5349d5203c9fe2400cc7c05e14a7b1bc075603bd462ab74b60427d944f8e177d0 WHIRLPOOL d7da243aff8b6ff12f943db997bb644cfb88117b4deadb8ebea698537d864ede4084acc4afe7314a93eb24fa3a4092dbb24ecfb28cabff85c0214a03d89b44c6
+EBUILD omake-0.10.2.ebuild 1155 SHA256 5e7a27d2e7c03b584b1ab0f51c7d7c33283baf3efcbc3fe659d216c9d9b918ad SHA512 79b90c2feab16dc5520897f752e771ab0c1578d92f0d7d8fd6a6e88e298c7e6493334ad10895efef98158d7f4e42e0971954a81ab4a0037f5aa89dc72e895c06 WHIRLPOOL 777c995ff7cd5adffc4b078c1225a2cdc06fa37f7b9eff1ef545724a2042b2d64c7236702a6c67d357893c55a42533434063f29822ca9e3842009444c98be709
+EBUILD omake-0.9.8.6.0_rc1.ebuild 2000 SHA256 f2171eac7c4c123dc89189a27f25ea9436fb9cb740785724b0c77b09d23e10cb SHA512 b1ca3e4b4687a1535fb4908cd02235706f8138ee6f2b2de66e3363c6800b3b4eb63c5389fba03e8e630848edbe03ca74ac3f1351c20f148595554095cd5cc25e WHIRLPOOL 29149e37aa1519d179f87cb3355956550fb93767ec4a4b9e4b9e3d349569fbc6ddd51804301c537762e1013b32a02add078c6bd65f88b14c673a92370390c717
+MISC ChangeLog 2811 SHA256 4aad1c278d91673b85084d4df551b082e0e1d2c4900592511285416148a9c025 SHA512 575f16d9822f230948ac315a538f15642943f8abc8396b84e22867ca1d58b59a9d34caf9e3bb6a49435c0e592befa724a7c4451374648e13d0eea22ca5c007cb WHIRLPOOL aaee3010bc1d9896d5a36d752ab95fde1e0f4b5fb16421ab458d22e7cc6ecd92870efc00dfb8b65d1b88366bc2de95669e4f13a26884f698d5958692ae9ca8cd
+MISC ChangeLog-2015 4069 SHA256 0c6239db1f9e051e14dd7965585385f133b2b605513055247e3cf2cd97d68129 SHA512 ef2c842904c4ff51b6ae893c2bc4ae3e926580e127ca79e73a7a564ea7b0ce1ac1ebbfec9fb157561cbf11b0714425f4a4cf80de71e050ec987b6f2d309ddf5c WHIRLPOOL 0026dba5815d841efef936a165d4b14bbb3dbc5bc157931e5f7cfcb7c56ae1e26c2097ae2dd364e224cbdcdd27096c2261cb7aae3f55e54de7024ea9eefb5f04
+MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
diff --git a/dev-util/omake/files/omake-0.10.2-cflags.patch b/dev-util/omake/files/omake-0.10.2-cflags.patch
new file mode 100644
index 000000000000..b4dc9ee38aa7
--- /dev/null
+++ b/dev-util/omake/files/omake-0.10.2-cflags.patch
@@ -0,0 +1,13 @@
+Index: omake-0.10.2/OMakefile
+===================================================================
+--- omake-0.10.2.orig/OMakefile
++++ omake-0.10.2/OMakefile
+@@ -49,7 +49,7 @@ else
+ #
+ # Extra options for the C compiler
+ #
+- CFLAGS += -g -O2 -Wall -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-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..ffac4d7ebc01
--- /dev/null
+++ b/dev-util/omake/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-util/omake/omake-0.10.2.ebuild b/dev-util/omake/omake-0.10.2.ebuild
new file mode 100644
index 000000000000..46e34cdb6a51
--- /dev/null
+++ b/dev-util/omake/omake-0.10.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs multilib eutils
+
+RESTRICT="installsources"
+DESCRIPTION="Make replacement"
+HOMEPAGE="http://projects.camlcity.org/projects/omake.html"
+SRC_URI="http://download.camlcity.org/download/${P}.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:0= )
+ fam? ( virtual/fam )
+ readline? ( >=sys-libs/readline-4.3:0= )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${P}-cflags.patch"
+}
+
+src_configure() {
+ ./configure \
+ -prefix "${EPREFIX}/usr" \
+ $(use readline || echo '-disable-readline') \
+ $(use ncurses || echo '-disable-ncurses' ) \
+ $(use fam || echo '-disable-fam' ) \
+ || die
+}
+
+src_compile() {
+ emake all
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc ChangeLog CONTRIBUTORS.org README.md
+ 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/*"
+}
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..daa7fd04918a
--- /dev/null
+++ b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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:0= )
+ fam? ( virtual/fam )
+ readline? ( >=sys-libs/readline-4.3:0= )"
+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/*"
+}