diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-04-19 18:18:10 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-04-19 18:18:10 +0000 |
commit | c5a833fd4ee1344309549c4643237c08b3ec94d4 (patch) | |
tree | a44762765616139a1a89090cdafe519a63c08d7e /dev-ml | |
parent | Fix compiled path to startup.mk #360323 (diff) | |
download | historical-c5a833fd4ee1344309549c4643237c08b3ec94d4.tar.gz historical-c5a833fd4ee1344309549c4643237c08b3ec94d4.tar.bz2 historical-c5a833fd4ee1344309549c4643237c08b3ec94d4.zip |
version bump
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/findlib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/findlib/Manifest | 10 | ||||
-rw-r--r-- | dev-ml/findlib/findlib-1.2.7.ebuild | 77 |
3 files changed, 89 insertions, 5 deletions
diff --git a/dev-ml/findlib/ChangeLog b/dev-ml/findlib/ChangeLog index a11435a9e1d7..23bc2325d4a1 100644 --- a/dev-ml/findlib/ChangeLog +++ b/dev-ml/findlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/findlib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.73 2011/01/24 09:15:55 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.74 2011/04/19 18:18:10 aballier Exp $ + +*findlib-1.2.7 (19 Apr 2011) + + 19 Apr 2011; Alexis Ballier <aballier@gentoo.org> +findlib-1.2.7.ebuild: + version bump 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> -findlib-1.2.3.ebuild, -findlib-1.2.5.ebuild: diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest index 8c47e7e1098e..b791a5629b3d 100644 --- a/dev-ml/findlib/Manifest +++ b/dev-ml/findlib/Manifest @@ -2,13 +2,15 @@ Hash: SHA1 DIST findlib-1.2.6.tar.gz 162458 RMD160 76ee6ba0cf5c4ec8693dec14fae8582ad6cd5de3 SHA1 50d2764025168a5f3cab7f559b8fdf3cb680e405 SHA256 badf1d81a96322491e7ffa144c22fe04b106340b8279c15d54bd4b4d3d2ddfac +DIST findlib-1.2.7.tar.gz 163452 RMD160 d374a9dcfee69e2428e904a77882616dd4fe61e7 SHA1 bb99da86a454ec755c9c5e4a464013be5c766801 SHA256 c920b129e48b3b313e67b915a078ab06a9ddd2e072f3353edfa74144f256029b EBUILD findlib-1.2.6.ebuild 1757 RMD160 03ba0a1d888f0fad66d16f85617ce9a2d31b5085 SHA1 d9ed99ac4a41329fa4f014e624b44904bf6ce9b1 SHA256 36299577a60500d4b158a0655784c01c8f0ced4c1ed67476e9b6d3cd8e7a11e7 -MISC ChangeLog 8574 RMD160 276a95bb44f9217b159dad2fc7ff46890c0d10a0 SHA1 4734984f13e72d1a8e979367df61a7514de9bf10 SHA256 5d581e2182f1017b5d0cb952877ba884aec4de7c7f00d25fcff64fd9f08ea612 +EBUILD findlib-1.2.7.ebuild 1763 RMD160 23f76eb548b97d722a73beb5964f820ce176d2c5 SHA1 e793e14eb223fb1e8f86e9f4a9f9cf357b70b39b SHA256 df39d37c0ea8128d527765a240a2b55dc62c554445ededec698b4eed035b5dcd +MISC ChangeLog 8695 RMD160 f49f6378e4bda1c152e743a4b08e12e396a36ddc SHA1 13adfd5dfc5b1ca2e3acb5d469f9b77f9d62ccd7 SHA256 b2ff639abc94a51445e810e9c1330b88cc1a76bfd08e5d913e35530ecbfe480b MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk09Q1EACgkQvFcC4BYPU0ozdQCggVoJ/jJa19uuUltdn7uFVS3H -SpgAnAynFIgjcG3XZcjOf9U1kqkpZunL -=Fi0+ +iEYEARECAAYFAk2t0egACgkQvFcC4BYPU0oQ+gCffmZ+SpRcBNa53Rd1eYG+aCmh +ZVwAoM2fXYW9RhJ9KkbxIT71a4xO5nET +=tgg6 -----END PGP SIGNATURE----- diff --git a/dev-ml/findlib/findlib-1.2.7.ebuild b/dev-ml/findlib/findlib-1.2.7.ebuild new file mode 100644 index 000000000000..8662be1e83cc --- /dev/null +++ b/dev-ml/findlib/findlib-1.2.7.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-1.2.7.ebuild,v 1.1 2011/04/19 18:18:10 aballier Exp $ + +EAPI=2 + +inherit multilib + +RESTRICT="installsources" + +DESCRIPTION="OCaml tool to find/use non-standard packages." +HOMEPAGE="http://projects.camlcity.org/projects/findlib.html" +SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" +IUSE="doc +ocamlopt tk" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?,tk?]" +RDEPEND="${DEPEND}" + +ocamlfind_destdir="/usr/$(get_libdir)/ocaml" +stublibs="${ocamlfind_destdir}/stublibs" + +src_configure() { + local myconf + use tk && myconf="-with-toolbox" + ./configure -bindir /usr/bin -mandir /usr/share/man \ + -sitelib ${ocamlfind_destdir} \ + -config ${ocamlfind_destdir}/findlib/findlib.conf \ + ${myconf} || die "configure failed" +} + +src_compile() { + emake all || die + if use ocamlopt; then + emake opt || die # optimized code + else + # If using bytecode we dont want to strip the binary as it would remove the + # bytecode and only leave ocamlrun... + export STRIP_MASK="*/bin/*" + fi +} + +src_install() { + dodir `ocamlc -where` + + emake prefix="${D}" install || die + + dodir "${stublibs}" + + cd "${S}/doc" + dodoc QUICKSTART README DOCINFO + use doc && dohtml -r ref-html guide-html +} + +check_stublibs() { + local ocaml_stdlib=`ocamlc -where` + local ldconf="${ocaml_stdlib}/ld.conf" + + if [ ! -e ${ldconf} ] + then + echo "${ocaml_stdlib}" > ${ldconf} + echo "${ocaml_stdlib}/stublibs" >> ${ldconf} + fi + + if [ -z `grep -e ${stublibs} ${ldconf}` ] + then + echo ${stublibs} >> ${ldconf} + fi +} + +pkg_postinst() { + check_stublibs +} |