summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-06-12 12:41:42 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-06-12 12:41:42 +0000
commit7206345b1499546ae82e39ccc9a1a6ac0587b26e (patch)
tree3781195587fdf7b06f4b847f6651144ffea463ec /dev-ml/pxp
parentvcs-snapshot.eclass, remove old. (diff)
downloadgentoo-2-7206345b1499546ae82e39ccc9a1a6ac0587b26e.tar.gz
gentoo-2-7206345b1499546ae82e39ccc9a1a6ac0587b26e.tar.bz2
gentoo-2-7206345b1499546ae82e39ccc9a1a6ac0587b26e.zip
version bump
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml/pxp')
-rw-r--r--dev-ml/pxp/ChangeLog7
-rw-r--r--dev-ml/pxp/pxp-1.2.3.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-ml/pxp/ChangeLog b/dev-ml/pxp/ChangeLog
index 6fbfc2eeff25..26b93ecbc2e2 100644
--- a/dev-ml/pxp/ChangeLog
+++ b/dev-ml/pxp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/pxp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/ChangeLog,v 1.26 2012/02/23 20:27:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/ChangeLog,v 1.27 2012/06/12 12:41:42 aballier Exp $
+
+*pxp-1.2.3 (12 Jun 2012)
+
+ 12 Jun 2012; Alexis Ballier <aballier@gentoo.org> +pxp-1.2.3.ebuild:
+ version bump
23 Feb 2012; Alexis Ballier <aballier@gentoo.org> -pxp-1.2.1.ebuild:
remove old
diff --git a/dev-ml/pxp/pxp-1.2.3.ebuild b/dev-ml/pxp/pxp-1.2.3.ebuild
new file mode 100644
index 000000000000..3d983e2032ff
--- /dev/null
+++ b/dev-ml/pxp/pxp-1.2.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/pxp-1.2.3.ebuild,v 1.1 2012/06/12 12:41:42 aballier Exp $
+
+EAPI="2"
+
+inherit findlib eutils
+
+MY_P=${P/_beta/test}
+
+DESCRIPTION="validating XML parser library for O'Caml"
+HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+SLOT="0"
+DEPEND=">=dev-ml/pcre-ocaml-4.31
+>=dev-ml/ulex-0.5
+>=dev-ml/ocamlnet-0.98
+>=dev-lang/ocaml-3.10.2[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+IUSE="examples +ocamlopt"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ #the included configure does not support many standard switches and is quite picky
+ ./configure || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all || die "make all failed"
+ if use ocamlopt; then
+ emake -j1 opt || die "make opt failed"
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+
+ cd doc
+ dodoc ABOUT-FINDLIB DEV README SPEC design.txt
+}