diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-02 21:57:29 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-02 21:57:29 +0000 |
commit | c79dc384849d4232ebe6917f34d24ca5b5702ef2 (patch) | |
tree | 26ef9b93d64f1b1b47756fa9a1adb72d6e0c4d03 /dev-ml | |
parent | dev-ml/pcre-ocaml ocamlopt useflag (diff) | |
download | historical-c79dc384849d4232ebe6917f34d24ca5b5702ef2.tar.gz historical-c79dc384849d4232ebe6917f34d24ca5b5702ef2.tar.bz2 historical-c79dc384849d4232ebe6917f34d24ca5b5702ef2.zip |
Version bump and add support to not build with ocamlopt
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/pcre-ocaml/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ml/pcre-ocaml/Manifest | 24 | ||||
-rw-r--r-- | dev-ml/pcre-ocaml/files/digest-pcre-ocaml-5.12.2 | 3 | ||||
-rw-r--r-- | dev-ml/pcre-ocaml/pcre-ocaml-5.12.2.ebuild | 52 |
4 files changed, 79 insertions, 10 deletions
diff --git a/dev-ml/pcre-ocaml/ChangeLog b/dev-ml/pcre-ocaml/ChangeLog index 23507124942e..6b77457f37ee 100644 --- a/dev-ml/pcre-ocaml/ChangeLog +++ b/dev-ml/pcre-ocaml/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ml/pcre-ocaml -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.14 2007/08/30 13:34:34 phreak Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/ChangeLog,v 1.15 2008/01/02 21:57:28 aballier Exp $ + +*pcre-ocaml-5.12.2 (02 Jan 2008) + + 02 Jan 2008; Alexis Ballier <aballier@gentoo.org> + +pcre-ocaml-5.12.2.ebuild: + Version bump and add support to not build with ocamlopt 30 Aug 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing mattam from metadata due to his retirement (see #30021 for reference). diff --git a/dev-ml/pcre-ocaml/Manifest b/dev-ml/pcre-ocaml/Manifest index a9051efc6ce7..82e61dbcad80 100644 --- a/dev-ml/pcre-ocaml/Manifest +++ b/dev-ml/pcre-ocaml/Manifest @@ -4,6 +4,7 @@ Hash: SHA1 DIST pcre-ocaml-4.33.0.tar.bz2 39575 RMD160 172eac5aa6cc02ed452b558d217728f2ffa3333b SHA1 7485f4702a21c2b5e3a39e4ee19950f646c07701 SHA256 7f26c924558bc7e9a22336f847134fbe4c7a912a1f28c08108ecf9988c9691fc DIST pcre-ocaml-5.08.1.tar.bz2 45383 RMD160 c22db6b773f2f61ade53a753ebc1688c185519fa SHA1 e9565f239c1344a00fcc3cf654109a723b677c11 SHA256 028abf88c8bb8635a105942510228b0a0644cbc7c8f6ec4662f8e37eaaf72113 DIST pcre-ocaml-5.12.1.tar.bz2 50046 RMD160 e8303be6c4e499a299b86e59584049a27ca15b54 SHA1 c3b51a3941b84b6f8171d7c3d2c36d12b96ad0f3 SHA256 5e2855cdabfc322673fdca3d6ee356889b13d9842e277c9435891194df7404ff +DIST pcre-ocaml-5.12.2.tar.bz2 50303 RMD160 f81b5cc03da0282c576c49ae66691b358f94dd9a SHA1 03d29cc16751f79be2a3d06d544864cc1bee7cc9 SHA256 4eb6d1b2ae09cd60a1c06901e41315c735c2ed84c89897d85cc18c44d768f18d EBUILD pcre-ocaml-4.33.0.ebuild 883 RMD160 e34f5cfb0d4ac65bc8318dd7158de8e41c02ac29 SHA1 81527054b193e5a8da5de08581d292ad6f1f2ec1 SHA256 02978fdd0550b13fdafcaf6c71007e6e008635f0a1a8b4d21a4ca6619b2b24eb MD5 0409df50d28c013badd14d0351a93e84 pcre-ocaml-4.33.0.ebuild 883 RMD160 e34f5cfb0d4ac65bc8318dd7158de8e41c02ac29 pcre-ocaml-4.33.0.ebuild 883 @@ -16,10 +17,14 @@ EBUILD pcre-ocaml-5.12.1.ebuild 747 RMD160 b4a38f0d77fd088d464938995273f3311d192 MD5 33062eb2083ac00fd1a795fd8336ff13 pcre-ocaml-5.12.1.ebuild 747 RMD160 b4a38f0d77fd088d464938995273f3311d192890 pcre-ocaml-5.12.1.ebuild 747 SHA256 14655364fc1063a2d20d3fe616fde59e2b347faa630743ba5923f920d27d0e42 pcre-ocaml-5.12.1.ebuild 747 -MISC ChangeLog 2221 RMD160 31d990237f45a42c3d1a4fae65fc76e66766d545 SHA1 a622fb9f94d7af6204c11b5b163058c5fe41846f SHA256 bbbc673b8c90e4dd26553eb3777011cf7c5d7fb76a863e023ea8868e414adaf3 -MD5 a3a2e66a3ab6b4cad49237fe2cd9806d ChangeLog 2221 -RMD160 31d990237f45a42c3d1a4fae65fc76e66766d545 ChangeLog 2221 -SHA256 bbbc673b8c90e4dd26553eb3777011cf7c5d7fb76a863e023ea8868e414adaf3 ChangeLog 2221 +EBUILD pcre-ocaml-5.12.2.ebuild 1378 RMD160 233c1e0391e46f00a65055aa94e0f707496943d3 SHA1 91bb540f487de870a9491642282a54418975919c SHA256 7ce35f552730a60518434ce9f5155e33e47b3bb3595a0792f6f5cb4ba5ec753b +MD5 bdfcd585141c194371a8a0583fe1644f pcre-ocaml-5.12.2.ebuild 1378 +RMD160 233c1e0391e46f00a65055aa94e0f707496943d3 pcre-ocaml-5.12.2.ebuild 1378 +SHA256 7ce35f552730a60518434ce9f5155e33e47b3bb3595a0792f6f5cb4ba5ec753b pcre-ocaml-5.12.2.ebuild 1378 +MISC ChangeLog 2397 RMD160 268b2ab6df168ae8188354ffa66b619d676f844f SHA1 d6649182f9cfc5b3efce78a4a8745dffdb162e00 SHA256 367c57e360d8b4da1b579dd4ef054912aeebca5cc188bed3abe1f3a7054acf0c +MD5 c8c5e3501e2a197392849e1337f852d8 ChangeLog 2397 +RMD160 268b2ab6df168ae8188354ffa66b619d676f844f ChangeLog 2397 +SHA256 367c57e360d8b4da1b579dd4ef054912aeebca5cc188bed3abe1f3a7054acf0c ChangeLog 2397 MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee MD5 59ea40b8187e7995ddaf227a834ceb5f metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 metadata.xml 156 @@ -33,10 +38,13 @@ SHA256 90c3ef1b0da7c9ab0277d17a877f7fdda06d3d36d7cde974ceeefd22e5745a2e files/di MD5 638c6c26115b61e163edef233d8283d5 files/digest-pcre-ocaml-5.12.1 253 RMD160 a12b695cfe4cb5df53bd2ba26ae4e36b1bbf7dff files/digest-pcre-ocaml-5.12.1 253 SHA256 d523883053acacad6dcea9b63dd4c939ccb2b8929e85807bc74f82e57a36e27d files/digest-pcre-ocaml-5.12.1 253 +MD5 0ba4d983cd521eb78f4c2057b3fb6f47 files/digest-pcre-ocaml-5.12.2 253 +RMD160 4195d72689bc4f15f45705f85540d416d246fac6 files/digest-pcre-ocaml-5.12.2 253 +SHA256 411e54fb00f6778d38d2f67026e166ebd70dafbd3aad6f02bf2c6b81cc39acaa files/digest-pcre-ocaml-5.12.2 253 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.6 (GNU/Linux) +Version: GnuPG v2.0.8 (GNU/Linux) -iD8DBQFG1sdzyuNVb5qfaOYRAp9WAJ4t9Bn7gdftpf/vcjni6bRB+BmTVQCbB/fJ -0ib8QkfALHmh3rX6tFNnCFQ= -=pNwA +iEYEARECAAYFAkd8CNAACgkQvFcC4BYPU0qhywCfR5zfSUEz4Nf0CPtAH+Djzw1O +XE8AoKjdN7CxqgE64cQmDE4zScOfgM9e +=wfwv -----END PGP SIGNATURE----- diff --git a/dev-ml/pcre-ocaml/files/digest-pcre-ocaml-5.12.2 b/dev-ml/pcre-ocaml/files/digest-pcre-ocaml-5.12.2 new file mode 100644 index 000000000000..cfb1fea68d5c --- /dev/null +++ b/dev-ml/pcre-ocaml/files/digest-pcre-ocaml-5.12.2 @@ -0,0 +1,3 @@ +MD5 dbe759392f1c1d22cb96b9136ebf4ec4 pcre-ocaml-5.12.2.tar.bz2 50303 +RMD160 f81b5cc03da0282c576c49ae66691b358f94dd9a pcre-ocaml-5.12.2.tar.bz2 50303 +SHA256 4eb6d1b2ae09cd60a1c06901e41315c735c2ed84c89897d85cc18c44d768f18d pcre-ocaml-5.12.2.tar.bz2 50303 diff --git a/dev-ml/pcre-ocaml/pcre-ocaml-5.12.2.ebuild b/dev-ml/pcre-ocaml/pcre-ocaml-5.12.2.ebuild new file mode 100644 index 000000000000..4b407e000c00 --- /dev/null +++ b/dev-ml/pcre-ocaml/pcre-ocaml-5.12.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-5.12.2.ebuild,v 1.1 2008/01/02 21:57:28 aballier Exp $ + +inherit findlib eutils + +EAPI="1" + +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.bz2" +LICENSE="LGPL-2.1" + +DEPEND=">=dev-lang/ocaml-3.07 + >=dev-libs/libpcre-4.5" +SLOT="0" +IUSE="examples +ocamlopt" +KEYWORDS="~amd64 ~ppc ~x86" + +pkg_setup() { + if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then + eerror "In order to build ${PN} with native code support from ocaml" + eerror "You first need to have a native code ocaml compiler." + eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." + die "Please install ocaml with ocamlopt useflag" + fi +} + +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 VERSION Changes + + if use examples; then + for dir in examples/* + do + docinto $dir + dodoc $dir/* + done + fi +} |