diff options
Diffstat (limited to 'dev-ml/pcre-ocaml')
-rw-r--r-- | dev-ml/pcre-ocaml/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ml/pcre-ocaml/Manifest | 11 | ||||
-rw-r--r-- | dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch | 10 | ||||
-rw-r--r-- | dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild | 44 |
4 files changed, 68 insertions, 5 deletions
diff --git a/dev-ml/pcre-ocaml/ChangeLog b/dev-ml/pcre-ocaml/ChangeLog index c2539a3a6bd9..28b418a20bd6 100644 --- a/dev-ml/pcre-ocaml/ChangeLog +++ b/dev-ml/pcre-ocaml/ChangeLog @@ -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.26 2009/06/21 12:16:14 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.27 2009/06/21 12:31:25 aballier Exp $ + +*pcre-ocaml-6.0.1 (21 Jun 2009) + + 21 Jun 2009; Alexis Ballier <aballier@gentoo.org> + +pcre-ocaml-6.0.1.ebuild, +files/pcre-ocaml-6.0.1-linkopts.patch: + version bump 21 Jun 2009; Alexis Ballier <aballier@gentoo.org> pcre-ocaml-5.15.0.ebuild: diff --git a/dev-ml/pcre-ocaml/Manifest b/dev-ml/pcre-ocaml/Manifest index 7e2a64c42c6b..7e16f750b60b 100644 --- a/dev-ml/pcre-ocaml/Manifest +++ b/dev-ml/pcre-ocaml/Manifest @@ -1,14 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX pcre-ocaml-6.0.1-linkopts.patch 334 RMD160 790336efeb2f3b798030c434ef9b427ca2874806 SHA1 9e26fcc766e402d48ef163404a0f23f40877ae54 SHA256 389681ba14061b2c0f5b7308eab3fc28f2b627509bdb9f7e25e472392c909d32 DIST pcre-ocaml-5.15.0.tar.bz2 51120 RMD160 b2a515f2120e2e6a25f03ee15d60fe766621f5a9 SHA1 b7fb293867cf2c7d7deddc29e6a445359b0f7604 SHA256 2b995eb5586c411240757283dd1edd6b51b29bddad1ef2467181e63c4ae4496f +DIST pcre-ocaml-6.0.1.tar.gz 59690 RMD160 92bc6df356f9ce898519e571dc17ee79977a915e SHA1 16d612a55c7a7733cac62f8108329f236f83f46f SHA256 b1f787fb24e8110d535eba9c09e5539fce2cd85bf008b2a6a36a84ac31ceef9b EBUILD pcre-ocaml-5.15.0.ebuild 1386 RMD160 f05895ac4ecefff773be0565b74ce616f79619ec SHA1 94bbe1bb1eafa85d035ba4d150452a752cf1a54a SHA256 9dba25f8147fbf1bcb97d55afb397a9735b71d47fdccc91fe098ae027699d065 -MISC ChangeLog 3820 RMD160 ace7f9dad1656783a297dc1c875a860e9d7ada31 SHA1 35aab692b2d96cf0185a1b708b49bf706bb8f071 SHA256 da040a233c8d1a8e8cc3cc764609f531f7580313c8a284c14337707b6f052fdf +EBUILD pcre-ocaml-6.0.1.ebuild 1098 RMD160 06f53cf4b6e7748332e0d861bb69d8ef2755c5e1 SHA1 bef79777ea74b42af125dd24eb3340f1792b97b3 SHA256 c8e6af18e5bf55ae1a6eda037b750f568a48ea1874cf7ef282cae5bfeebc6032 +MISC ChangeLog 3989 RMD160 e41c210607d30ecfa7800008f66728442d8cf4e2 SHA1 98ed72b6254df3666c94f70fa18991f16124d57d SHA256 acaa938968acd5d17e57c05259ebe68918f925e284cae371e35079eac8655da9 MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) -iEYEARECAAYFAko+JJIACgkQvFcC4BYPU0r7IACgsl/lyg7/7voGnikG9lG+KLa9 -M5cAnjil6szWiOq9pYDbrOwuhNecR6W5 -=RGrR +iEYEARECAAYFAko+KCEACgkQvFcC4BYPU0pGrQCfdFCSQCfwpqGyu0psS7y0Jlie +iR0AoMSEVjcGgd5gs+oBsVrxtklQ/BA9 +=tnDL -----END PGP SIGNATURE----- diff --git a/dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch b/dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch new file mode 100644 index 000000000000..4b31360dd7c2 --- /dev/null +++ b/dev-ml/pcre-ocaml/files/pcre-ocaml-6.0.1-linkopts.patch @@ -0,0 +1,10 @@ +Index: pcre-ocaml-6.0.1/lib/META +=================================================================== +--- pcre-ocaml-6.0.1.orig/lib/META ++++ pcre-ocaml-6.0.1/lib/META +@@ -4,4 +4,4 @@ description="Perl Compatibility Regular + requires="" + archive(byte)="pcre.cma" + archive(native)="pcre.cmxa" +-linkopts = "" ++linkopts = "-cclib -lpcre" diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild new file mode 100644 index 000000000000..33bb297a5593 --- /dev/null +++ b/dev-ml/pcre-ocaml/pcre-ocaml-6.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 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.0.1.ebuild,v 1.1 2009/06/21 12:31:25 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}/${P}-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 +} |