summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-21 15:01:40 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-21 15:01:40 +0000
commit1fa4b646effd073d504dfb15b96b8a1b14ba6fcf (patch)
tree70175d5e7c07654345284fdd772738a8a25752cb /dev-ml
parentAdd missed tigervnc version to 1.7 mask. (diff)
downloadgentoo-2-1fa4b646effd073d504dfb15b96b8a1b14ba6fcf.tar.gz
gentoo-2-1fa4b646effd073d504dfb15b96b8a1b14ba6fcf.tar.bz2
gentoo-2-1fa4b646effd073d504dfb15b96b8a1b14ba6fcf.zip
Initial import, ebuild by Vladimir Ivanov <v.ivanov@ymail.com> who will be proxy-maintaining it, bug #353959
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/xmlm/ChangeLog11
-rw-r--r--dev-ml/xmlm/metadata.xml9
-rw-r--r--dev-ml/xmlm/xmlm-1.0.2.ebuild39
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-ml/xmlm/ChangeLog b/dev-ml/xmlm/ChangeLog
new file mode 100644
index 000000000000..f74d855c4d55
--- /dev/null
+++ b/dev-ml/xmlm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/xmlm
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/xmlm/ChangeLog,v 1.1 2011/02/21 15:01:40 aballier Exp $
+
+*xmlm-1.0.2 (21 Feb 2011)
+
+ 21 Feb 2011; Alexis Ballier <aballier@gentoo.org> +xmlm-1.0.2.ebuild,
+ +metadata.xml:
+ Initial import, ebuild by Vladimir Ivanov <v.ivanov@ymail.com> who will be
+ proxy-maintaining it, bug #353959
+
diff --git a/dev-ml/xmlm/metadata.xml b/dev-ml/xmlm/metadata.xml
new file mode 100644
index 000000000000..f6b3ee22be88
--- /dev/null
+++ b/dev-ml/xmlm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<maintainer>
+ <email>v.ivanov@ymail.com</email>
+ <name>Vladimir Ivanov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/xmlm/xmlm-1.0.2.ebuild b/dev-ml/xmlm/xmlm-1.0.2.ebuild
new file mode 100644
index 000000000000..28576c36282e
--- /dev/null
+++ b/dev-ml/xmlm/xmlm-1.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/xmlm/xmlm-1.0.2.ebuild,v 1.1 2011/02/21 15:01:40 aballier Exp $
+
+EAPI=3
+
+DESCRIPTION="Ocaml XML manipulation module"
+HOMEPAGE="http://erratique.ch/software/xmlm"
+SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ ./build module-byte || die "bytecode failed"
+ if use ocamlopt ; then
+ ./build module-native && ./build module-plugin || die "native code failed"
+ fi
+ if use doc ; then
+ ./build doc || die "doc building failed"
+ fi
+}
+
+src_install() {
+ export INSTALLDIR=${D}/`ocamlc -where`/${PN}
+ if use ocamlopt ; then
+ ./build install || die "install failed"
+ ./build install-plugin || "install-plugin failed"
+ else
+ ./build install-byte || die "install failed"
+ fi
+ dodoc CHANGES README || die
+ use doc && dohtml doc/*
+}