diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-02-25 23:18:27 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-02-25 23:18:27 +0000 |
commit | a14fbe9f25642659d7e8feaf3b13acbc382cf63a (patch) | |
tree | 0d8c8ec62cf0fbbecca954e7a2cbdc9ef1ae0a25 /dev-ml | |
parent | Fix zlib dep. (diff) | |
download | historical-a14fbe9f25642659d7e8feaf3b13acbc382cf63a.tar.gz historical-a14fbe9f25642659d7e8feaf3b13acbc382cf63a.tar.bz2 historical-a14fbe9f25642659d7e8feaf3b13acbc382cf63a.zip |
version bump
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/findlib/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ml/findlib/Manifest | 10 | ||||
-rw-r--r-- | dev-ml/findlib/findlib-1.2.8.ebuild | 77 |
3 files changed, 90 insertions, 6 deletions
diff --git a/dev-ml/findlib/ChangeLog b/dev-ml/findlib/ChangeLog index 81d7e30357ae..2747aec0dff7 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.80 2011/10/11 19:36:03 aballier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.81 2012/02/25 23:18:27 aballier Exp $ + +*findlib-1.2.8 (25 Feb 2012) + + 25 Feb 2012; Alexis Ballier <aballier@gentoo.org> +findlib-1.2.8.ebuild: + version bump 11 Oct 2011; Alexis Ballier <aballier@gentoo.org> -findlib-1.2.6.ebuild: remove old diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest index d728c89733de..6cdcb29cdc6e 100644 --- a/dev-ml/findlib/Manifest +++ b/dev-ml/findlib/Manifest @@ -2,13 +2,15 @@ Hash: SHA1 DIST findlib-1.2.7.tar.gz 163452 RMD160 d374a9dcfee69e2428e904a77882616dd4fe61e7 SHA1 bb99da86a454ec755c9c5e4a464013be5c766801 SHA256 c920b129e48b3b313e67b915a078ab06a9ddd2e072f3353edfa74144f256029b +DIST findlib-1.2.8.tar.gz 163985 RMD160 8b8c22c27cbdfa0a324d44480671d36d3c6eb2a8 SHA1 85d28df1a5a5c72a7a1b1c40ff89ea592507e6bd SHA256 1b1d54932a8b09c221d92ee85953f2b612381e8fd48fdf3e7a96f88995544567 EBUILD findlib-1.2.7.ebuild 1750 RMD160 57d645ec0fd72ea7d35bbc0189ff91a565922f84 SHA1 f49fe75d4835dc1c589c2178ac619ce15017b0ed SHA256 82c503417402391ec953fa234591a7ceb999f9f57b5f6af154bba3b0a6f3e034 -MISC ChangeLog 9312 RMD160 18495fc078b7592c673190921b4345e151015281 SHA1 ef9b778d8ded9b7cf46ebcb248f6931d0b437c2a SHA256 8d98810f11856aed75b8338006f0f5b68ec101638be5d2ef3b95959b7df3097b +EBUILD findlib-1.2.8.ebuild 1763 RMD160 0b58eeedf6f098d7c161483db3b5aa45816247e7 SHA1 0d1e6af008716ddd11d9f24b1ccc3323781c5a9d SHA256 144a4f29dee4fa6d5c7c897b344698985620edda4e4e7754c0f01ff6080b6d25 +MISC ChangeLog 9433 RMD160 ca2bbcc33b40e6e6e6acf680ab3aaf31a5f49546 SHA1 bb8df8d8d0141007ff30661671fab8950f6218f1 SHA256 8859e0e0dfd77740e5ef71af46e4d0fe79e4f7c721cbfd6cfc1cf0e9d42c07fe MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk6UmqkACgkQvFcC4BYPU0oqTACfV1FYug4JLJ8sM8cgB7buVBNN -wNMAoIrX9btSxvXevwTNtTStirYpXp6d -=6LKn +iEYEARECAAYFAk9JbEgACgkQvFcC4BYPU0rwyQCeLdyIZG8xzMtpp/yZF31DYMSd +FLIAoJeVkUF4yZ5U8xsSXuJSI/YujNEY +=xQKH -----END PGP SIGNATURE----- diff --git a/dev-ml/findlib/findlib-1.2.8.ebuild b/dev-ml/findlib/findlib-1.2.8.ebuild new file mode 100644 index 000000000000..f752a024d501 --- /dev/null +++ b/dev-ml/findlib/findlib-1.2.8.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-1.2.8.ebuild,v 1.1 2012/02/25 23:18:27 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 +} |