From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ml/xmlm: xmlm-1.0.2.ebuild ChangeLog metadata.xml |
Date: | Mon, 21 Feb 2011 15:01:50 |
Message-Id: | 20110221150140.913AD20054@flycatcher.gentoo.org |
1 | aballier 11/02/21 15:01:40 |
2 | |
3 | Added: xmlm-1.0.2.ebuild ChangeLog metadata.xml |
4 | Log: |
5 | Initial import, ebuild by Vladimir Ivanov <v.ivanov@×××××.com> who will be proxy-maintaining it, bug #353959 |
6 | |
7 | (Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ml/xmlm/xmlm-1.0.2.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xmlm/xmlm-1.0.2.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xmlm/xmlm-1.0.2.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xmlm-1.0.2.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2011 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/xmlm/xmlm-1.0.2.ebuild,v 1.1 2011/02/21 15:01:40 aballier Exp $ |
20 | |
21 | EAPI=3 |
22 | |
23 | DESCRIPTION="Ocaml XML manipulation module" |
24 | HOMEPAGE="http://erratique.ch/software/xmlm" |
25 | SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz" |
26 | |
27 | LICENSE="BSD" |
28 | SLOT="0" |
29 | KEYWORDS="~amd64" |
30 | IUSE="doc +ocamlopt" |
31 | |
32 | DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]" |
33 | RDEPEND="${DEPEND}" |
34 | |
35 | src_compile() { |
36 | ./build module-byte || die "bytecode failed" |
37 | if use ocamlopt ; then |
38 | ./build module-native && ./build module-plugin || die "native code failed" |
39 | fi |
40 | if use doc ; then |
41 | ./build doc || die "doc building failed" |
42 | fi |
43 | } |
44 | |
45 | src_install() { |
46 | export INSTALLDIR=${D}/`ocamlc -where`/${PN} |
47 | if use ocamlopt ; then |
48 | ./build install || die "install failed" |
49 | ./build install-plugin || "install-plugin failed" |
50 | else |
51 | ./build install-byte || die "install failed" |
52 | fi |
53 | dodoc CHANGES README || die |
54 | use doc && dohtml doc/* |
55 | } |
56 | |
57 | |
58 | |
59 | 1.1 dev-ml/xmlm/ChangeLog |
60 | |
61 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xmlm/ChangeLog?rev=1.1&view=markup |
62 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xmlm/ChangeLog?rev=1.1&content-type=text/plain |
63 | |
64 | Index: ChangeLog |
65 | =================================================================== |
66 | # ChangeLog for dev-ml/xmlm |
67 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
68 | # $Header: /var/cvsroot/gentoo-x86/dev-ml/xmlm/ChangeLog,v 1.1 2011/02/21 15:01:40 aballier Exp $ |
69 | |
70 | *xmlm-1.0.2 (21 Feb 2011) |
71 | |
72 | 21 Feb 2011; Alexis Ballier <aballier@g.o> +xmlm-1.0.2.ebuild, |
73 | +metadata.xml: |
74 | Initial import, ebuild by Vladimir Ivanov <v.ivanov@×××××.com> who will be |
75 | proxy-maintaining it, bug #353959 |
76 | |
77 | |
78 | |
79 | |
80 | 1.1 dev-ml/xmlm/metadata.xml |
81 | |
82 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xmlm/metadata.xml?rev=1.1&view=markup |
83 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/xmlm/metadata.xml?rev=1.1&content-type=text/plain |
84 | |
85 | Index: metadata.xml |
86 | =================================================================== |
87 | <?xml version="1.0" encoding="UTF-8"?> |
88 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
89 | <pkgmetadata> |
90 | <herd>ml</herd> |
91 | <maintainer> |
92 | <email>v.ivanov@×××××.com</email> |
93 | <name>Vladimir Ivanov</name> |
94 | </maintainer> |
95 | </pkgmetadata> |