summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-04-22 06:51:12 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-04-22 06:51:12 +0000
commita14a25a4880d1a86ce9fd5b78a194fec1c2aed2f (patch)
tree31af954baf499cb7e43276ef2688d450058df7d1 /dev-lang
parentadd desktop entry (bug #160233) with patch from Pacho Ramos (diff)
downloadhistorical-a14a25a4880d1a86ce9fd5b78a194fec1c2aed2f.tar.gz
historical-a14a25a4880d1a86ce9fd5b78a194fec1c2aed2f.tar.bz2
historical-a14a25a4880d1a86ce9fd5b78a194fec1c2aed2f.zip
version bump
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/erlang/ChangeLog7
-rw-r--r--dev-lang/erlang/Manifest12
-rw-r--r--dev-lang/erlang/erlang-13.2.ebuild158
3 files changed, 172 insertions, 5 deletions
diff --git a/dev-lang/erlang/ChangeLog b/dev-lang/erlang/ChangeLog
index ed57ace0b54d..2510689406e8 100644
--- a/dev-lang/erlang/ChangeLog
+++ b/dev-lang/erlang/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/erlang
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.158 2009/04/20 17:24:46 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.159 2009/04/22 06:51:12 fauli Exp $
+
+*erlang-13.2 (22 Apr 2009)
+
+ 22 Apr 2009; Christian Faulhammer <fauli@gentoo.org> +erlang-13.2.ebuild:
+ version bump
20 Apr 2009; Christian Faulhammer <fauli@gentoo.org> erlang-13.1-r1:
Note in comment, that the LDFLAGS patch has been accepted upstream
diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest
index d07025dc3a7f..d7d8ed673359 100644
--- a/dev-lang/erlang/Manifest
+++ b/dev-lang/erlang/Manifest
@@ -7,18 +7,22 @@ AUX erlang-12.2.5-remove_execstack.patch 3819 RMD160 a52ffd31864b0acec958f5ab4db
AUX erlang-13.1-LDFLAGS.patch 4225 RMD160 179e642bf50dc6b63a2a11a22469a5762b82fcdb SHA1 db75e3b04cd7c1c62d89f8defa2ff029b6539128 SHA256 da4276d10a5d8814774000702aac74fe2e2e0f060d72a2ce43f2defbca52cdf4
DIST otp_doc_html_R12B-5.tar.gz 5713089 RMD160 b460906043171b27735332ec90c45e38d888869a SHA1 0bd369d02051e01bac58c9b8665bd3538e116f51 SHA256 db131a347217ab434ca4c483abb61dc01989e0db43e1fe6982c3067f60cf91d7
DIST otp_doc_html_R13A.tar.gz 6246368 RMD160 873b30cd8c5f2617c62aba0314197c54097a27cf SHA1 fb3ed9c0d619d8bbd70af5c6b0e4e90c49771e0d SHA256 07ece729ac923b4e9dc6369d97b0c1f38b3ff43f71de01b0ec0a8d01427d2c83
+DIST otp_doc_html_R13B.tar.gz 6267472 RMD160 632b54c5b4a2261d61377c171a9ca7e71176bd69 SHA1 d479dc6f865ae0cd59a9085de20698fae9d71b67 SHA256 cd54556497a02f272492288a293af3f150e2afef91e6eb38e9d735d2d4701d28
DIST otp_doc_man_R12B-5.tar.gz 822321 RMD160 e28d555d0a86fc69e0ee091864828c8eaa58d2be SHA1 ae7036bd2afc9d1fca97f0de2eca84f56656def8 SHA256 f7acb458b72ffa8f9b1f45501bed85d3d9fb691c601f3f6997856c501e2f0659
DIST otp_doc_man_R13A.tar.gz 950006 RMD160 c082bda26b85cd6bd2ede8dd2c538e2ef50bbd2c SHA1 98ce2fbc2daf7ec88ca38334412b9e85ca9cd53c SHA256 7e826e917aa79ff7d35972754a90856f04cbc676128da6b64a92a221914cd380
+DIST otp_doc_man_R13B.tar.gz 952365 RMD160 ea0341750880a30359979d0e6aefcb2a7e1cecb5 SHA1 9a390f4e670db7b6596200031d4e0dbb6e96578d SHA256 e2a85964e5b381354c143284e537ad8f7db98cfe99ed89803349332e4d7fb84e
DIST otp_src_R12B-5.tar.gz 47470402 RMD160 7265ae8ebd045ec5b977148a7c9b995eb7ef2d2d SHA1 6c45509acf70d35d5def2cbefd86ada093c1ac3a SHA256 6ec3f344dd626bd83494fcad66db98a03f930a039b2a1499313d1a5a57aadda7
DIST otp_src_R13A.tar.gz 54258791 RMD160 42ba3c4815fa702d19281f1d42faaec72a75c703 SHA1 9fa0db27611559d697fe269c3fb9a405ae24d147 SHA256 d95f059eb2fdc98d2b604482abb1738e81fc95a7172defb563fabe2d364a1e0b
+DIST otp_src_R13B.tar.gz 54412183 RMD160 625bf1b2c9051218dc6a4f3c89eaea50367fa112 SHA1 a69611923c48861aef157e7b4a06689d339571ff SHA256 2f13d77f8e29ad630934a0125048b829c83b0bc58f719d7a9a19769576424884
EBUILD erlang-12.2.5-r1.ebuild 4728 RMD160 5bb846f9de161a53caf5ac78a188f54a12bf1c85 SHA1 4be4ad30a4f839271dc88b50d9bdce736cf81857 SHA256 3b7d8b98d10c28fd2021bdae6fefa1cf1fcb8e8dfa375808fb1a68529d6ca4c0
EBUILD erlang-13.1-r1.ebuild 4559 RMD160 4da288381a4aa92ac3c201b4421aeda69216f6c5 SHA1 74ddc20a9faca34f01ba910d6fc319945a52ec9b SHA256 87a8ec1af2fb192d47d2bc89285351d4134ea45e9186099a9e4d6ce29e8f764c
-MISC ChangeLog 26044 RMD160 c866e76eb5620fab8b9247c17313247ef390353c SHA1 5b106a6fcfa6820785a6694c89bfcc403a79f8f9 SHA256 13ad489537f99f3a70c768f0230058aa5c0eb27aefc9820745021b5ab8285c42
+EBUILD erlang-13.2.ebuild 4562 RMD160 23d616a774c3a2ccbae1dad92eb740481d0bc82b SHA1 18598ab3a3b7365fecbfc175009aa73432f57e5e SHA256 3f8fc7049d9791d820229c2ff27e8b6f9d1d8e270f24720852a36f3993677f54
+MISC ChangeLog 26164 RMD160 19fb421e1c5deb60ab3b09e74ea9241f43327d02 SHA1 6261ecc3c664adeff249ab463a373248e3555cb9 SHA256 2f5c747dbc0673ae8b560143a07b1eb26fe280e9573465c33b96a2d70b39e96c
MISC metadata.xml 693 RMD160 6c8d43bd35549421b055b468c45f1f2e5d39357d SHA1 7c778bbc7faf1dfdc11a6155e1c525e42d63ebb5 SHA256 ee0ac0699562802a5191deaef78770c25a342875a3b363ea95a0b92da6f107e3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAknsr+kACgkQNQqtfCuFneOSOACfQ/bLZleT2ATBRTzySXpLNDpa
-UH0An16ENk9CzPCHgL4pG+H+ELYbNCyB
-=Z9a2
+iEYEARECAAYFAknuvn0ACgkQNQqtfCuFneMWugCfdtCtoQxVLv/qrozB3REVxZ+N
+auwAoJQ87wcWhbxkDFvh5KE8a0C4sRaz
+=Plpc
-----END PGP SIGNATURE-----
diff --git a/dev-lang/erlang/erlang-13.2.ebuild b/dev-lang/erlang/erlang-13.2.ebuild
new file mode 100644
index 000000000000..4dac3f00827a
--- /dev/null
+++ b/dev-lang/erlang/erlang-13.2.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-13.2.ebuild,v 1.1 2009/04/22 06:51:12 fauli Exp $
+
+EAPI=2
+
+inherit autotools elisp-common eutils flag-o-matic multilib versionator
+
+# NOTE: If you need symlinks for binaries please tell maintainers or
+# open up a bug to let it be created.
+
+# erlang uses a really weird versioning scheme which caused quite a few problems
+# already. Thus we do a slight modification converting all letters to digits to
+# make it more sane (see e.g. #26420)
+
+# the next line selects the right source.
+MY_PV="R$(get_major_version)B"
+
+# ATTN!! Take care when processing the C, etc version!
+MY_P=otp_src_${MY_PV}
+
+DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
+HOMEPAGE="http://www.erlang.org/"
+SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz
+ doc? ( http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
+ http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
+
+LICENSE="EPL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc emacs hipe java kpoll odbc smp sctp ssl tk wxwindows"
+
+RDEPEND=">=dev-lang/perl-5.6.1
+ ssl? ( >=dev-libs/openssl-0.9.7d )
+ emacs? ( virtual/emacs )
+ java? ( >=virtual/jdk-1.2 )
+ odbc? ( dev-db/unixODBC )"
+DEPEND="${RDEPEND}
+ wxwindows? ( x11-libs/wxGTK:2.8[opengl] )
+ sctp? ( net-misc/lksctp-tools )
+ tk? ( dev-lang/tk )"
+
+S="${WORKDIR}/${MY_P}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_prepare() {
+ use odbc || sed -i 's: odbc : :' lib/Makefile
+ if ! use wxwindows; then
+ sed -i 's: wx : :' lib/Makefile
+ rm -rf lib/wx
+ fi
+ epatch "${FILESDIR}"/${PN}-13.1-LDFLAGS.patch # bug 263129, accepted
+ # upstream for R13B1
+ if use hipe; then
+ ewarn
+ ewarn "You enabled High performance Erlang. Be aware that this extension"
+ ewarn "can break the compilation in many ways, especially on hardened systems."
+ ewarn "Don't cry, don't file bugs, just disable it! If you have a fix, tell us though on Bugzilla."
+ ewarn
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ use java || export JAVAC=false
+
+ econf \
+ --enable-threads \
+ $(use_enable sctp) \
+ $(use_enable hipe) \
+ $(use_with ssl) \
+ $(use_enable ssl dynamic-ssl-lib) \
+ $(use_enable kpoll kernel-poll) \
+ $(use_enable smp smp-support) \
+ || die
+}
+
+src_compile() {
+ use java || export JAVAC=false
+ emake -j1 || die
+
+ if use emacs ; then
+ pushd lib/tools/emacs
+ elisp-compile *.el || die
+ popd
+ fi
+}
+
+extract_version() {
+ sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
+}
+
+src_install() {
+ local ERL_LIBDIR=/usr/$(get_libdir)/erlang
+ local ERL_INTERFACE_VER=$(extract_version lib/erl_interface EI_VSN)
+ local ERL_ERTS_VER=$(extract_version erts VSN)
+
+ emake -j1 INSTALL_PREFIX="${D}" install || die
+ dodoc AUTHORS README
+
+ dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
+ dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
+ dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
+ dosym \
+ "${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
+ /usr/bin/erl_call
+ dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
+
+ ## Remove ${D} from the following files
+ dosed "${ERL_LIBDIR}/bin/erl"
+ dosed "${ERL_LIBDIR}/bin/start"
+ grep -rle "${D}" "${D}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
+
+ ## Clean up the no longer needed files
+ rm "${D}/${ERL_LIBDIR}/Install"
+
+ if use doc ; then
+ for i in "${WORKDIR}"/man/man* ; do
+ dodir "${ERL_LIBDIR}/${i##${WORKDIR}}"
+ done
+ for file in "${WORKDIR}"/man/man*/*.[1-9]; do
+ # doman sucks so we can't use it
+ cp ${file} "${D}/${ERL_LIBDIR}"/man/man${file##*.}/
+ done
+ # extend MANPATH, so the normal man command can find it
+ # see bug 189639
+ dodir /etc/env.d/
+ echo "MANPATH=\"${ERL_LIBDIR}/man\"" > "${D}/etc/env.d/90erlang"
+ dohtml -A README,erl,hrl,c,h,kwc,info -r \
+ "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-*
+ fi
+
+ if use emacs ; then
+ pushd "${S}"
+ elisp-install erlang lib/tools/emacs/*.{el,elc}
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ popd
+ fi
+
+ # prepare erl for SMP, fixes bug #188112
+ use smp && sed -i -e 's:\(exec.*erlexec\):\1 -smp:' \
+ "${D}/${ERL_LIBDIR}/bin/erl"
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+ elog
+ elog "If you need a symlink to one of Erlang's binaries,"
+ elog "please open a bug on http://bugs.gentoo.org/"
+ elog
+ elog "Gentoo's versioning scheme differs from the author's, so please refer to this version as ${MY_PV}"
+ elog
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}