version bump
authorAlexis Ballier <aballier@gentoo.org>
Fri, 9 Apr 2010 11:05:48 +0000 (11:05 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 9 Apr 2010 11:05:48 +0000 (11:05 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-ml/pcre-ocaml/ChangeLog
dev-ml/pcre-ocaml/Manifest
dev-ml/pcre-ocaml/pcre-ocaml-6.1.0.ebuild [new file with mode: 0644]

index ff06a8ec2d67c12794d2263b4665455ef778ae77..41923a7dc620fc0649020cc1ad432767443833f5 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ml/pcre-ocaml
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.30 2009/12/07 08:06:55 aballier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.31 2010/04/09 11:05:48 aballier Exp $
+
+*pcre-ocaml-6.1.0 (09 Apr 2010)
+
+  09 Apr 2010; Alexis Ballier <aballier@gentoo.org>
+  +pcre-ocaml-6.1.0.ebuild:
+  version bump
 
   07 Dec 2009; Alexis Ballier <aballier@gentoo.org>
   -pcre-ocaml-5.15.0.ebuild:
index 96fbca5c88e2f91bfcade079e2bfa4b347447bbb..04ad0eeded4d784fbd6decf28bf202ea93da33c7 100644 (file)
@@ -3,13 +3,15 @@ Hash: SHA1
 
 AUX pcre-ocaml-6.0.1-linkopts.patch 334 RMD160 790336efeb2f3b798030c434ef9b427ca2874806 SHA1 9e26fcc766e402d48ef163404a0f23f40877ae54 SHA256 389681ba14061b2c0f5b7308eab3fc28f2b627509bdb9f7e25e472392c909d32
 DIST pcre-ocaml-6.0.1.tar.gz 59690 RMD160 92bc6df356f9ce898519e571dc17ee79977a915e SHA1 16d612a55c7a7733cac62f8108329f236f83f46f SHA256 b1f787fb24e8110d535eba9c09e5539fce2cd85bf008b2a6a36a84ac31ceef9b
+DIST pcre-ocaml-6.1.0.tar.gz 59979 RMD160 1acb344297b48efbfe00bfdc6db418af354ed84f SHA1 969c5adf639786ae7cafd4e99253368948504528 SHA256 e2988f014bc7df67361e591d05c70d11c1aace96b625355320900085ce47d987
 EBUILD pcre-ocaml-6.0.1.ebuild 1093 RMD160 51c117fd6aa6bf248a8d0b1e7b1514e8a0f0f986 SHA1 b259c168142c152dbe4d439f0d06210384e30661 SHA256 e60f88d49f6890d3532889599c5389b8bd65c0a75335d8c6dd45888696fb001d
-MISC ChangeLog 4279 RMD160 01c37e9a4b749b1c52f5fb2250cabfb5ce00e716 SHA1 a73bb5aaa000e7ceaed5fb8a580d8190852f0347 SHA256 76b324a4798b05f9e2aad2108f391a56a7006bacd9a07aa5219375b3f2309f61
+EBUILD pcre-ocaml-6.1.0.ebuild 1105 RMD160 53724b76e2be870b2d14bd5a5906e60bc468f90b SHA1 ec132591b87d2d79433847f80b38b3101d1ffa2e SHA256 2b1ffb86d1628c37f8f7190bcbf4dea79535a5f53d36fe25dd899cf5e433cbef
+MISC ChangeLog 4408 RMD160 29470b89eee5dfadf4fb89d7a567d8fbc2fa7a6b SHA1 1f256dc6267abc58c736cb18a670323f7e0bb73d SHA256 8e14338e767a072c5d719614b49e9016d74a8391fd484020e011a30c046f3709
 MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
 
-iEYEARECAAYFAksct6UACgkQvFcC4BYPU0qoswCfRt2wNjgRum3Uajy/t++8kgWX
-IakAn3lX1DmZ+rcxrZh76c3QLBQqlBTy
-=Gg6r
+iEYEARECAAYFAku/ChIACgkQvFcC4BYPU0p4ewCaA2EQMX3Kylblz/ho4ie/8Uo1
+Y2kAoIT4iVZgIR40KpU+r4V3DO7eGbG2
+=gLtn
 -----END PGP SIGNATURE-----
diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-6.1.0.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-6.1.0.ebuild
new file mode 100644 (file)
index 0000000..70a90c1
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-6.1.0.ebuild,v 1.1 2010/04/09 11:05:48 aballier Exp $
+
+EAPI="2"
+
+inherit findlib eutils
+
+DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
+HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
+SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
+       >=dev-libs/libpcre-4.5"
+DEPEND="${RDEPEND}"
+SLOT="0"
+IUSE="examples +ocamlopt"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+src_prepare() {
+       epatch "${FILESDIR}/${PN}-6.0.1-linkopts.patch"
+}
+
+src_compile() {
+       cd "${S}/lib"
+       emake byte-code-library || die "Failed to build byte code library"
+       if use ocamlopt; then
+               emake native-code-library || die "Failed to build native code library"
+       fi
+}
+
+src_install () {
+       export OCAMLFIND_INSTFLAGS="-optional"
+       findlib_src_install
+
+       # install documentation
+       dodoc README.txt Changelog
+
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               doins -r examples
+       fi
+}