1 |
commit: 4605f547d68ab214815b3b21a662aea3c9cb744d |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 11:34:39 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 11:34:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4605f547 |
7 |
|
8 |
dev-ml/pxp: bump to 1.2.8 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ml/pxp/Manifest | 1 + |
14 |
dev-ml/pxp/pxp-1.2.8.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/pxp/Manifest b/dev-ml/pxp/Manifest |
18 |
index eff83f8..a1a4327 100644 |
19 |
--- a/dev-ml/pxp/Manifest |
20 |
+++ b/dev-ml/pxp/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST pxp-1.2.4.tar.gz 702365 SHA256 1cd3e946f19d800f412475adf56e6da87231f80be22d7ea71dd4eabf93876355 SHA512 1520dd732db17923c24d43c328e659db83ac00569e7d2153e5633dfbc3fad899db8e45523ea76915e5dd1cb71cda2500db3875deebdf47b375af5bd05ad383d6 WHIRLPOOL 26c54816a63b26cee4cbaa7c3c868f449c40291eff1a242ade45f5c08f89afd7ef8b12ff3da5b00608f8ede486d17b1fd1387f0042c42e79d08e76f43c97089f |
23 |
DIST pxp-1.2.7.tar.gz 735710 SHA256 2b0aca564f71c87825436e31a82de2ca3b3e99ee81a83840a525b0be63d73025 SHA512 11b49edc8e93a867b39d99ed6117460b3ecc7f9368564c815125662897f3cfbd87876b68c794bfd73b28cb0d8a898500ccd8ce0e1fca205bbce8b9759fa684d3 WHIRLPOOL 728f708c5dc332179884a4c2b6a222c514e8153c3bdf67847361df323886d61e320672f7dc7bd695343a641b34c9742c94f3cd9065541622670cb8b3df22380d |
24 |
+DIST pxp-1.2.8.tar.gz 619689 SHA256 701754f4460595434ea6db77c33e046d33e4a485e8d28c5d39ced56112c94452 SHA512 3292bfbda494066e454331a9cfc56b03f55afe8548bdf24fea09d9bc0a03c333c027f7b527983bd9b4d659458c95acf7e3fc251c72d26ab3502f52067c9f2549 WHIRLPOOL 5529a6ad818428b03664764704e62d200802dc26c8c344897f4b15b17945e4620fa4b878f0108b12f346000a7cc070b50d2ce82d945c6bcd34a0e5e811ec8c0a |
25 |
|
26 |
diff --git a/dev-ml/pxp/pxp-1.2.8.ebuild b/dev-ml/pxp/pxp-1.2.8.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..1937ee7 |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/pxp/pxp-1.2.8.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI="5" |
37 |
+ |
38 |
+inherit findlib eutils |
39 |
+ |
40 |
+MY_P=${P/_beta/test} |
41 |
+ |
42 |
+DESCRIPTION="validating XML parser library for O'Caml" |
43 |
+HOMEPAGE="http://projects.camlcity.org/projects/pxp.html" |
44 |
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |
48 |
+ |
49 |
+SLOT="0/${PV}" |
50 |
+DEPEND=">=dev-ml/pcre-ocaml-4.31:= |
51 |
+ >=dev-ml/ulex-0.5:= |
52 |
+ >=dev-ml/ocamlnet-0.98:= |
53 |
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?] |
54 |
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )" |
55 |
+RDEPEND="${DEPEND}" |
56 |
+ |
57 |
+IUSE="examples +ocamlopt" |
58 |
+ |
59 |
+S=${WORKDIR}/${MY_P} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ #the included configure does not support many standard switches and is quite picky |
63 |
+ ./configure || die "configure failed" |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ emake -j1 all |
68 |
+ if use ocamlopt; then |
69 |
+ emake -j1 opt |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ findlib_src_install |
75 |
+ if use examples; then |
76 |
+ dodoc -r examples |
77 |
+ docompress -x /usr/share/doc/${PF}/examples |
78 |
+ fi |
79 |
+ |
80 |
+ cd doc |
81 |
+ dodoc ABOUT-FINDLIB README SPEC design.txt |
82 |
+} |