summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2014-03-30 20:24:00 +0000
committerDirkjan Ochtman <djc@gentoo.org>2014-03-30 20:24:00 +0000
commit526bc51f33b3a4627153fea6dd2ea3f4d01326bc (patch)
treebc4c4c04eb0e0b5f78506cc36cc6ce682b963cc7 /dev-lang
parentRemove old versions. (diff)
downloadhistorical-526bc51f33b3a4627153fea6dd2ea3f4d01326bc.tar.gz
historical-526bc51f33b3a4627153fea6dd2ea3f4d01326bc.tar.bz2
historical-526bc51f33b3a4627153fea6dd2ea3f4d01326bc.zip
Remove old versions.
Package-Manager: portage-2.2.9-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x30380381
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/erlang/ChangeLog6
-rw-r--r--dev-lang/erlang/Manifest38
-rw-r--r--dev-lang/erlang/erlang-16.1-r1.ebuild177
-rw-r--r--dev-lang/erlang/erlang-16.1.ebuild175
-rw-r--r--dev-lang/erlang/erlang-16.2.ebuild177
-rw-r--r--dev-lang/erlang/erlang-16.ebuild174
6 files changed, 19 insertions, 728 deletions
diff --git a/dev-lang/erlang/ChangeLog b/dev-lang/erlang/ChangeLog
index 9db934e97029..3a4e458843c6 100644
--- a/dev-lang/erlang/ChangeLog
+++ b/dev-lang/erlang/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/erlang
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.247 2014/02/08 20:53:24 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.248 2014/03/30 20:23:55 djc Exp $
+
+ 30 Mar 2014; Dirkjan Ochtman <djc@gentoo.org> -erlang-16.1-r1.ebuild,
+ -erlang-16.1.ebuild, -erlang-16.2.ebuild, -erlang-16.ebuild:
+ Remove old versions.
*erlang-16.2-r1 (08 Feb 2014)
diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest
index 729005910595..812ad30a14f8 100644
--- a/dev-lang/erlang/Manifest
+++ b/dev-lang/erlang/Manifest
@@ -6,39 +6,29 @@ AUX 50erlang-gentoo.el 134 SHA256 97e1da82cae31a554134d7370739520e4c67b2544e5a13
AUX epmd.init 509 SHA256 110e6616b2978e74a55a76e119d3e16ac313b4b1b780abec6422f2dd924baa87 SHA512 e9e14f50ffc197f67706e9f419c2b7a7821d42b4d992fcd4b72fdd42a29983a84efaa3afb02a8758a871da6fd11c08e720ec416cc21b29a852d1dd9fc162ba42 WHIRLPOOL 7b9dd42fc706e7dddc98221c08e68759ed0d657030a04e6063131220dc4d6bfbc610a9e574ff5e62b79bb20d601febae4365ee960c316031986cc9a35e67843f
AUX epmd.service 138 SHA256 689a50cfe05cf644f62b2308920f8ed7f602e1de94d53a67f5fd37eb0249ef17 SHA512 405740f8f9cd55d4ecd7420748399ab3f374b7cb09e53605f44ba49d0af86b70e4a1baf1fde05a703fb90c8a83dbcdd5cfbbf09185e9d7b58ff9612aefc2dd28 WHIRLPOOL 7d4eb5c5290c8026bdc915210b2273cffd429ea1162cc0ad77f67661a2a660794b9518290c2437cb999abef8051275d6fd30b3dae8b98cf52c65f5c210d3c61b
DIST otp_doc_html_R15B03-1.tar.gz 30436303 SHA256 d06f580f11d1303217a5c1cf8d68a98d7e01c535be934dcd430ecdc254f7572e SHA512 8a22ad702d50f40162f7d6051dbbc0226af449f7a1dcfb087e952dd7eb7213257940933441cfb68f055746450e3e5aa2c5ed8107ac67af7c3a940afb195af8c7 WHIRLPOOL ac10f9ce0ffd4cbd98617e4018e5a4729ce83f0ace6a4db219e7beef2f3a626a8c9a419c7f7772c934ca50310f55486df7eb24955ba845a9230c69c93e183d33
-DIST otp_doc_html_R16B.tar.gz 32832774 SHA256 c0bbfd483a267440046c77aed8af7d7eafa5d03553324db9bf365a850a6581ee SHA512 f621714743329267bf87cfbc45c9262402465a38649debbc3826fa1925a5b878fbcbd7c1abf0dc7f5dd89fe75f4944fadfeca36442005cfac2e89de4a258a90d WHIRLPOOL afae8510f7425710e341d9bd926afa185339529c5daf92b380c781bf4779db247ce48775456174e6db4f3e1f8a4cb48b0eb079488160c08705fb8900700e86e7
-DIST otp_doc_html_R16B01.tar.gz 33129717 SHA256 fa8fc507b3f799e8ff4d2ab800f054f3f99b39212e348504024403a6951bd036 SHA512 0af6ed31e278b2d51c2d529fb41bd0d6eed36bf59bff458dcda2c30cb2412cf994063e422c6e4df450094abd5431b66d7455d3dabeefe28f0a8614634a4e9feb WHIRLPOOL ccab8c312765032bc01a533edb5e936b735d810c19ca30677fbb24c454d84a78cf129d4dc73162b6a66f8a5655721b618c46544102d316a752e2ce68a2776ea8
DIST otp_doc_html_R16B02.tar.gz 33241266 SHA256 2d54119b30c4d905b6b1298865309c3392fefb1580ad69725e997644bed04b7f SHA512 135557ee5ecd50487526712af52e3523317ce6cf0e6ea26d8c1bfcd11d55c113d378a64e6867fcc5fe45f9d02aa60d2de2839b904e6ec8909f050752207b63d9 WHIRLPOOL e0fa173a64800a268b4bac59137819cd241efe8aee72d857cddbf3270c57a6d3e810f64691961a8eb6569a4ec281de4c7e28233a6a97f25990b0b8d476462d4b
DIST otp_doc_man_R15B03-1.tar.gz 1305001 SHA256 07980d8014c7cf8194b7078c137353f5083992add4663ced3dcba2ff91f228d8 SHA512 eb07552c83a942c1e7f1960b45edfab97b0628a1e08c7c827a07d77797901b4b60a6719b35d0f92a49eb04ada924e9263df70968a5920efc6ccf8e4e966933c6 WHIRLPOOL 764495a8bb67e2c67493452c83ff890d959aa5cd3bd711fce75b3c756dbacb913e50f7d92aab14dc33d6839daaac5a37dc7bcc11fc6392af11dd506a8d99076c
-DIST otp_doc_man_R16B.tar.gz 1309209 SHA256 f7b1baa088d4ecda4a86944d3a782fcbf80c6b9161756bb50fec9e8d129176b9 SHA512 100148a8fb2f9097fd2c44a392d5f00cf3d366320fffe2574de85775ee9a76edfdbd5e72a24bbaaf18193b20032ecd9dc4b14425adbff2ed9454ec8989aa0969 WHIRLPOOL 73fadef9f18f0d6d6a7343a0d869d00dd60ccc53b4c2b3279fa5e19e014be73ce496d147be3c839938f12c026654cb4d8dee6d2aff057acb1ba80f3dd8447f4b
-DIST otp_doc_man_R16B01.tar.gz 1316676 SHA256 71972049fbac73457fb6868be18068edce9f2c9fc2aeeab15f019d4217b6a8c2 SHA512 791388a4d76b4c2bbe9898e1fcd8bd976a2b22df90706be5da1b56e30e66d97a8517adc0fb9d61f90e206cb2853df6d88c054387a630be03c27b3b48a0419376 WHIRLPOOL eb7c470185a5a11e496955ff2d876c1b5ad65ca2e9479c8dfe10a91b265970c9914bcee799d431f1622ade163f12a24bd4143e4483d3b13802e3fc6357c259a4
DIST otp_doc_man_R16B02.tar.gz 1318271 SHA256 b79ceb0383415088b5f040f2f3705632b425cb3f29c3955ef2219556abec5789 SHA512 958fa91c9fd59f4cf5c08e9b1cab433e53e9a267d7078e5a6603d6e9f68bcd36a1fb50ab12e29c958dc0673c370b191cbb5114d7a9ea0ff91de56bc13f053736 WHIRLPOOL eebe34bb53bb942f9e2145ee2c7756ec3059f4706fd157b275056a594e7a1d2aca2ccf457b9201b9bb9c8a1dfc7dc61b0eb3e70b172c5e18f8694742845bb684
DIST otp_src_R15B03-1.tar.gz 76123810 SHA256 4bccac86dd76aec050252e44276a0283a0df9218e6470cf042a9b9f9dfc9476c SHA512 baa8f388bd56bbdf1d3818802d011970fb51d38d14434532b1e4f04c1b8203e5a0cd9cc870f93a993cce750cd1af6e4b7df40dffc44e455353bce9d7c46c8e34 WHIRLPOOL ce76d01dfd17e0bc70e3daa7eab218000d1e802f55b0892e2e9654d2ea262f214f3bd006c0988885e787a1cfe782e8b61d5d1ee3a1d05cbced465b5a28e2de2e
-DIST otp_src_R16B.tar.gz 67097626 SHA256 f01c2cfe512d3118fd3398a66bdb82bea6ad0f45b464a46a58e452264b7682cd SHA512 ca8587df663ef3066aaca868a8f79cc002a9ee4d6d57162c75cd54d5e6dcc02a9477fa4a58110cb82f25f50f316ddaf2660010c4b43b8c7b36135b00e0e9221e WHIRLPOOL c7a38bd22c10d41e23f62b906f551b20744d4476dddec5799171be203fd6e855d19f24f6954d693747d3ce39e8a413dfd5bdc5cdc81a6bfa89590af9596ee1d4
-DIST otp_src_R16B01.tar.gz 65813898 SHA256 da388bc07b8ebdd008f5bb6c3d2c280e358bd188b5aac3ea01e3a7436315abc0 SHA512 61b5f5370d5e88c7b5ad662ea71a16e910d16e5d5fe4ec9550947e0ca5824f23fdca268c64b3e70e815b4da08a08a27a5f83017d8fe306a4e62cae6c85a4812f WHIRLPOOL ceb1961a79ac702bb4c9389c071aba9c3a644527847f6a7e0888dbbf3f6e5c4a716cab72267076e3b644a3f746fd3b39db42d6c5766406c341a5c4fc566a0329
DIST otp_src_R16B02.tar.gz 66023455 SHA256 6ab8ad1df8185345554a4b80e10fd8be06c4f2b71b69dcfb8528352787b32f85 SHA512 35c4dfe4f7de04a44cc4e2eabd796b53fa3c4104ced144f0b2060a66adf1e400b65eb1c94c19c5f83baa7f1f31bdc73b36f2ac1df9dfac7cc6e253b52702287d WHIRLPOOL fcb4e90874d2eabfa025786ed6e98ab7e1f1932b75f5d72fe7291c96ee955bc62c0faca2a3f7e51e24e2c74ca4b82e43b89f7bb0e430b6aa8c8b0d599d9ad506
EBUILD erlang-15.2.3.1.ebuild 5423 SHA256 212dedb4ce233274c9ac98b3a48498a87f42f2b65caaa34547f06401b6e1aeaa SHA512 e8af1f3cb6037bdcff65dff64ec7bf01f3a98006be0d2dda770698128748f47777baf0713f477637121734c7a47f8a6aba66f3465dd0d5217062b6c3de53b216 WHIRLPOOL c0fe8f99cd6e38856e8c22d704e0365ec1b18ce8d489597d1218ca0b0afaf916a90e90d789e6587e3302ad6258456e5bc1caa17657f5e5b3478292ca9616a1d1
-EBUILD erlang-16.1-r1.ebuild 5482 SHA256 7fb37e41ad89ad91b0fe514ee705c952b8bb9b3937e3152bd2a580a1b95dff3b SHA512 68825e2306e1720393b95e1c32881bfdb8fd0ccbf4e103f2df5e50787f11119979ffb5aac124a39c0fb2b10986ba1fe8f7e91414babf2e2722a94aea897762d2 WHIRLPOOL 1bf04dc3e709158c69a8e6e6990cc546e13613b36fcfdc550f76e55bb50623b6b5e2613fbbc98557c2d75a760c157ec1ca4fbcac220913af9d0b35aa77ae3f12
-EBUILD erlang-16.1.ebuild 5410 SHA256 10eb23158342d493dce89cdf76c8b5ac38a9506cd4bd31e46225a06785fc47d1 SHA512 047aaa793441390df38efb67210b0fd8660fd380056957cf6c9650e19c8449facd37c802c5e8dbfc0280ded39bd1d16346a0f79c337bbbf1b7e54d931cd795af WHIRLPOOL f9f9ce434cf3771603176030337b955b3c2d49b33904e3b236fcaee682b3e0e5802ecde720613b8f432c71138c559bc1592623623e4a0dfb06f5a5b10671fe78
EBUILD erlang-16.2-r1.ebuild 5311 SHA256 f9e8765964eb9b9f48a66df72074a8f5f9bf84121fbd6db2b365f31e92e5a7ca SHA512 0ea35994d0987ba27ddf881d9ba86be06aeeefe8a39a35eb58165e9442275d42293f3ca0c4582a0206406ad94c8ee5098b34ebcea31fa56448d88edf6b8f804a WHIRLPOOL bd245c4d7eef4bee492e5824a219f9730bbc3f1836731e9bd346fba378a3089a81dfff8c7ca92c62678679a52da03faff57a3eae2c12ae9f9d3f138b067a6fab
-EBUILD erlang-16.2.ebuild 5480 SHA256 6e77ea665f7975c571c0c2a30b0362d30c1c3126b9520f548bf402e57cca035b SHA512 b89de31a91b43f86a061b4d5ebe683791058bc025db69428454ebb728290e6cbb8ed1e89ea0a1a55490544a1810c72fd07143b9482933da1227860ca22ca955e WHIRLPOOL 6fb74b5e283636db4d6b47ed962b6a92139be2adf8d115c147c27cf050ea5e92aab816295e22da51f864fbeb32968c9424ac89ec29a2a8291f38389e9b403612
-EBUILD erlang-16.ebuild 5331 SHA256 649aceb800588e3ba97292156df993296095de3422a0ea41bf00b1475cc247f4 SHA512 6ad7c9de1eeb08c1ab27c721ec59f216e2ef33cee11526e7b35b1380ced5ccba163e8f41db3e173957a4298d50a7a879524dff6d86a2eb449c841b57dbe2efbd WHIRLPOOL 18ebbc17d0796869f131847fe1ca8211053b74261178e91a532bcf402c359051bee244588bbd545d53f997437ce3a9131d687915c7cb4197dfcce7cfe79a306d
-MISC ChangeLog 38955 SHA256 1849717213752bb9607b7d173fa618742fe8a6e3d07fc587e5cbc6fcf8434800 SHA512 775beb2d0de690226b116a4f594ca3ae8bd667c85e6aa77af20bb9ed74b79c819115208a12e2c106f3276f3258fd837c2f65ae81be50b2a4c83d73b057798f6a WHIRLPOOL f9449bd927b9ead655a5c8247af0711320f2ddf2e3333d0ef7711911c03563fe99069e3e0f1effc4a290b0f2edbedf44294fe8cd823441c1f50aa5a6ef5678b2
+MISC ChangeLog 39114 SHA256 1e8438ac91850cba8aafd5089bae85c202bb08d38fba7df3b1e22e5fa05344a3 SHA512 2b429b3d0e896e6cd131625224f7a4d01e8fa6f3afdc85192b9d0a56aa4f620199fee08b3689bdb53397af4b3ef7653b9996a4262701286d56d830a0718a6866 WHIRLPOOL e29125ab39c9510373703250d80e59050db32bcf920de00119effb670f87cb906d1357170414cb216b9d8c869a9c20442011a5db6bfe7f5d3c90bc1c82935d4a
MISC metadata.xml 852 SHA256 5782640d216cf818d9088bd5eb963002210d83e9eb47e98edfd3844fe579dc27 SHA512 1b22c6d550e7ca634694408f000bd99827aa86037db59b1bb3ca7a2b4259c38d69caac14b0a0db6611f7888dfcdc7972ee70e57a716eb2ac7684aa043b9d3208 WHIRLPOOL 748a8b4560773d970987880ef457194437024ee0f72b3ae9972f6033a5fc14da8e2835dab385c559ae0fe22e2bd31e8e4da3dc946e504388588d23baa39208bd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS9pnQAAoJEJ+WuSkwOAOBerkP/3kORWTSJxoZsovZei9VB97W
-qmrepfkHvmOBo7m7cuPPuEJtPbWquahUqfimhPqnMULbco3GJFYZRdttl6cgvY8S
-7DFCYAkcJ/BKrQx224nQSOtjPyYJTaQD2vYnSryS0H1nqh2NMHK6xwfUMbAvCiBO
-jUxKHm4Zr7rHXOgFVvTUhhBpltPCRlLrMOFJjJFmmKYnIK1TMuRb3liMftA8oMlf
-G3azJTkfVtmLFgChFDn985sTm6FAvh0ad/IsLnzY6QQfQPA1aFxqE6MTM1jgZzWz
-hutRXtjgDuQ0jtCRz18oqQ19Sv2GdOVJjCk931VCsLIh2W40qTitX6/03Hc8jT+/
-DQonCnrEypw9j52UhOQiABel8zTQ788RewCKPVx6w4fU8iw3yABQ3vntpOs0YqW4
-h29ntcdUuPRuzrPwG4HrUvzeeSx3bf5Auv3RkEYCmmePsH/UT4kx75j9CYUdgv9z
-RlIKdsiyczCMUvdPZ7a2f47rAdR6i/YK7yG4/ypaY49a3J242ZkzxSZHl3WgMivF
-yvOe2EUhHo1JA/M1f30/Gndct2KMyejIO9LdEceHMoVA6+o9VXBIZTQx+Y8AYwyk
-q5BRO61i63brBCt4SZbO6C030LnJ47OKThLN2oYN9FYt/7RCCiedgQeclpH/e5ID
-s9J9w0hn18SvfLtw/IEM
-=IUaU
+iQIcBAEBCAAGBQJTOH1fAAoJEJ+WuSkwOAOB2IMQANK+NQa/vvbXDpPdvtLZMJxT
+tMVYuro+722F8wVmhIF67FoBA64WDBxuShH0lZfdAF//+7MRB9m92/ErAqVtnwws
+LmDwuEsQgsbiRPmoCM6O/HR1pQJ+PKOfoDBmc9AA/7GwwKXerQRLViJBeWEPSmgY
+bNED8j3X0+LQvxqu0EXEtwxJYKbC43OqRTlMS5w+WakYv7hxMXJsiZolvNsCSV6K
+7YpvwZBYNMQbwbll6KsT/cBnl3iqTUPrAWS1+/yKEFHqjfsJOrXF+cL8qiZCX3C3
+jyEHVwLuM5V9z/UUlmdZCwtt/mrwQjBcUPnRCuNvV9cm+Bi3jYzPLH5561mcUs8Z
+WMomkIy/PiX0dYWH5i1+WQykXlb71QVpMw1dZbhMTNkeW2sPd7r+XxWlXDRUzoPm
+oTY/ghGwzT4cquHKDoLQ+Dr/RPz7bLqMFbvyQqx6HLwuQ5Yy0Q0TNEhRvuzdDgBJ
+rdhKiVfcD5UhQHSDiu2Q1TlpHTajIoEKe5WPaOtEbhpfDaX4h5h8ZC79i4VdsNkr
+4uMYpAmvOf2AbXMTK+Cx6P+8mbmLwK1lwZeA9snAxG05hnGZrSC5D6hnyNWEwJ4/
+iqTTTdFUz2QXVOV2gRXCP8oq6YWc7Zv7lAGcjF32ibNlP4YGEgohsLhFufkGKFl7
+uNOZJYoq/XbThiqqx6h8
+=baho
-----END PGP SIGNATURE-----
diff --git a/dev-lang/erlang/erlang-16.1-r1.ebuild b/dev-lang/erlang/erlang-16.1-r1.ebuild
deleted file mode 100644
index 42f20089f0e4..000000000000
--- a/dev-lang/erlang/erlang-16.1-r1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-16.1-r1.ebuild,v 1.3 2013/11/16 08:54:30 dirtyepic Exp $
-
-EAPI=3
-WX_GTK_VER="2.8"
-
-inherit autotools elisp-common eutils java-pkg-opt-2 multilib systemd versionator wxwidgets
-
-# 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="R16B01"
-
-# 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/otp_src_${MY_PV}.tar.gz
- http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
- doc? ( http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
-
-LICENSE="ErlPL-1.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
-IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
-
-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}
- wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] virtual/glu )
- sctp? ( net-misc/lksctp-tools )
- tk? ( dev-lang/tk )"
-
-S="${WORKDIR}/otp_src_${MY_PV}"
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- if use halfword ; then
- use amd64 || die "halfword support is limited to amd64"
- fi
-}
-
-src_prepare() {
- use odbc || sed -i 's: odbc : :' lib/Makefile
-
- # bug 263129, don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in || die
-
- # don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(ODBC_LIB) \$(EI_LDFLAGS):LDFLAGS += \$(ODBC_LIB) \$(EI_LDFLAGS):' -i "${S}"/lib/odbc/c_src/Makefile.in || die
-
- if ! use wxwidgets; then
- sed -i 's: wx : :' lib/Makefile
- rm -rf lib/wx
- fi
-
- # Nasty workaround, reported upstream
- cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in || die
-
- # bug 383697
- sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c || die
- epatch "${FILESDIR}/16.2-tinfo.patch" || die
- cd erts && eautoreconf || die
-}
-
-src_configure() {
- use java || export JAVAC=false
-
- econf \
- --enable-threads \
- --enable-shared-zlib \ \
- $(use_enable sctp) \
- $(use_enable halfword halfword-emulator) \
- $(use_enable hipe) \
- $(use_with ssl ssl "${EPREFIX}"/usr) \
- $(use_enable ssl dynamic-ssl-lib) \
- $(use_enable kpoll kernel-poll) \
- $(use_enable smp smp-support) \
- $(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
- $(use x64-macos && echo "--enable-darwin-64bit") \
- || die
-}
-
-src_compile() {
- use java || export JAVAC=false
- emake || 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 INSTALL_PREFIX="${D}" install || die
- dodoc AUTHORS README.md
-
- 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
- use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
-
- ## Remove ${D} from the following files
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
- grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
-
- ## Clean up the no longer needed files
- rm "${ED}/${ERL_LIBDIR}/Install"||die
-
- 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} "${ED}/${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=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
-
- if use doc ; then
- 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}
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
- "${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
- elisp-site-file-install "${T}"/${SITEFILE}
- popd
- fi
-
- newinitd "${FILESDIR}"/epmd.init epmd || die
- systemd_dounit "${FILESDIR}"/epmd.service ||die
-}
-
-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
-}
diff --git a/dev-lang/erlang/erlang-16.1.ebuild b/dev-lang/erlang/erlang-16.1.ebuild
deleted file mode 100644
index b1d8dbfa4f58..000000000000
--- a/dev-lang/erlang/erlang-16.1.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-16.1.ebuild,v 1.2 2013/11/16 08:54:30 dirtyepic Exp $
-
-EAPI=3
-WX_GTK_VER="2.8"
-
-inherit elisp-common eutils java-pkg-opt-2 multilib systemd versionator wxwidgets
-
-# 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="R16B01"
-
-# 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/otp_src_${MY_PV}.tar.gz
- http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
- doc? ( http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
-
-LICENSE="ErlPL-1.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
-IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
-
-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}
- wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] virtual/glu )
- sctp? ( net-misc/lksctp-tools )
- tk? ( dev-lang/tk )"
-
-S="${WORKDIR}/otp_src_${MY_PV}"
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- if use halfword ; then
- use amd64 || die "halfword support is limited to amd64"
- fi
-}
-
-src_prepare() {
- use odbc || sed -i 's: odbc : :' lib/Makefile
-
- # bug 263129, don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in || die
-
- # don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(ODBC_LIB) \$(EI_LDFLAGS):LDFLAGS += \$(ODBC_LIB) \$(EI_LDFLAGS):' -i "${S}"/lib/odbc/c_src/Makefile.in || die
-
- if ! use wxwidgets; then
- sed -i 's: wx : :' lib/Makefile
- rm -rf lib/wx
- fi
-
- # Nasty workaround, reported upstream
- cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in || die
-
- # bug 383697
- sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c || die
-}
-
-src_configure() {
- use java || export JAVAC=false
-
- econf \
- --enable-threads \
- --enable-shared-zlib \ \
- $(use_enable sctp) \
- $(use_enable halfword halfword-emulator) \
- $(use_enable hipe) \
- $(use_with ssl ssl "${EPREFIX}"/usr) \
- $(use_enable ssl dynamic-ssl-lib) \
- $(use_enable kpoll kernel-poll) \
- $(use_enable smp smp-support) \
- $(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
- $(use x64-macos && echo "--enable-darwin-64bit") \
- || die
-}
-
-src_compile() {
- use java || export JAVAC=false
- emake || 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 INSTALL_PREFIX="${D}" install || die
- dodoc AUTHORS README.md
-
- 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
- use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
-
- ## Remove ${D} from the following files
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
- grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
-
- ## Clean up the no longer needed files
- rm "${ED}/${ERL_LIBDIR}/Install"||die
-
- 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} "${ED}/${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=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
-
- if use doc ; then
- 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}
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
- "${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
- elisp-site-file-install "${T}"/${SITEFILE}
- popd
- fi
-
- newinitd "${FILESDIR}"/epmd.init epmd || die
- systemd_newunit "${FILESDIR}"/epmd.service 'epmd@.service' || die
-}
-
-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
-}
diff --git a/dev-lang/erlang/erlang-16.2.ebuild b/dev-lang/erlang/erlang-16.2.ebuild
deleted file mode 100644
index 08d9a9553e47..000000000000
--- a/dev-lang/erlang/erlang-16.2.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-16.2.ebuild,v 1.3 2013/11/16 08:54:30 dirtyepic Exp $
-
-EAPI=3
-WX_GTK_VER="2.8"
-
-inherit autotools elisp-common eutils java-pkg-opt-2 multilib systemd versionator wxwidgets
-
-# 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="R16B01"
-
-# 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/otp_src_${MY_PV}.tar.gz
- http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
- doc? ( http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
-
-LICENSE="ErlPL-1.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
-IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
-
-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}
- wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] virtual/glu )
- sctp? ( net-misc/lksctp-tools )
- tk? ( dev-lang/tk )"
-
-S="${WORKDIR}/otp_src_${MY_PV}"
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- if use halfword ; then
- use amd64 || die "halfword support is limited to amd64"
- fi
-}
-
-src_prepare() {
- use odbc || sed -i 's: odbc : :' lib/Makefile
-
- # bug 263129, don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in || die
-
- # don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(ODBC_LIB) \$(EI_LDFLAGS):LDFLAGS += \$(ODBC_LIB) \$(EI_LDFLAGS):' -i "${S}"/lib/odbc/c_src/Makefile.in || die
-
- if ! use wxwidgets; then
- sed -i 's: wx : :' lib/Makefile
- rm -rf lib/wx
- fi
-
- # Nasty workaround, reported upstream
- cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in || die
-
- # bug 383697
- sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c || die
- epatch "${FILESDIR}/${PV}-tinfo.patch" || die
- cd erts && eautoreconf || die
-}
-
-src_configure() {
- use java || export JAVAC=false
-
- econf \
- --enable-threads \
- --enable-shared-zlib \ \
- $(use_enable sctp) \
- $(use_enable halfword halfword-emulator) \
- $(use_enable hipe) \
- $(use_with ssl ssl "${EPREFIX}"/usr) \
- $(use_enable ssl dynamic-ssl-lib) \
- $(use_enable kpoll kernel-poll) \
- $(use_enable smp smp-support) \
- $(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
- $(use x64-macos && echo "--enable-darwin-64bit") \
- || die
-}
-
-src_compile() {
- use java || export JAVAC=false
- emake || 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 INSTALL_PREFIX="${D}" install || die
- dodoc AUTHORS README.md
-
- 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
- use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
-
- ## Remove ${D} from the following files
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
- grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
-
- ## Clean up the no longer needed files
- rm "${ED}/${ERL_LIBDIR}/Install"||die
-
- 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} "${ED}/${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=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
-
- if use doc ; then
- 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}
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
- "${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
- elisp-site-file-install "${T}"/${SITEFILE}
- popd
- fi
-
- newinitd "${FILESDIR}"/epmd.init epmd || die
- systemd_dounit "${FILESDIR}"/epmd.service ||die
-}
-
-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
-}
diff --git a/dev-lang/erlang/erlang-16.ebuild b/dev-lang/erlang/erlang-16.ebuild
deleted file mode 100644
index 6e4622daa19a..000000000000
--- a/dev-lang/erlang/erlang-16.ebuild
+++ /dev/null
@@ -1,174 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-16.ebuild,v 1.2 2013/11/16 08:54:30 dirtyepic Exp $
-
-EAPI=3
-WX_GTK_VER="2.8"
-
-inherit elisp-common eutils java-pkg-opt-2 multilib versionator wxwidgets
-
-# 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="R16B"
-
-# 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/otp_src_${MY_PV}.tar.gz
- http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
- doc? ( http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
-
-LICENSE="ErlPL-1.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
-IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
-
-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}
- wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] virtual/glu )
- sctp? ( net-misc/lksctp-tools )
- tk? ( dev-lang/tk )"
-
-S="${WORKDIR}/otp_src_${MY_PV}"
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- if use halfword ; then
- use amd64 || die "halfword support is limited to amd64"
- fi
-}
-
-src_prepare() {
- use odbc || sed -i 's: odbc : :' lib/Makefile
-
- # bug 263129, don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in || die
-
- # don't ignore LDFLAGS, reported upstream
- sed -e 's:LDFLAGS = \$(ODBC_LIB) \$(EI_LDFLAGS):LDFLAGS += \$(ODBC_LIB) \$(EI_LDFLAGS):' -i "${S}"/lib/odbc/c_src/Makefile.in || die
-
- if ! use wxwidgets; then
- sed -i 's: wx : :' lib/Makefile
- rm -rf lib/wx
- fi
-
- # Nasty workaround, reported upstream
- cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in || die
-
- # bug 383697
- sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c || die
-}
-
-src_configure() {
- use java || export JAVAC=false
-
- econf \
- --enable-threads \
- --enable-shared-zlib \ \
- $(use_enable sctp) \
- $(use_enable halfword halfword-emulator) \
- $(use_enable hipe) \
- $(use_with ssl ssl "${EPREFIX}"/usr) \
- $(use_enable ssl dynamic-ssl-lib) \
- $(use_enable kpoll kernel-poll) \
- $(use_enable smp smp-support) \
- $(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
- $(use x64-macos && echo "--enable-darwin-64bit") \
- || die
-}
-
-src_compile() {
- use java || export JAVAC=false
- emake || 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 INSTALL_PREFIX="${D}" install || die
- dodoc AUTHORS README.md
-
- 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
- use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
-
- ## Remove ${D} from the following files
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
- sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
- grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
-
- ## Clean up the no longer needed files
- rm "${ED}/${ERL_LIBDIR}/Install"||die
-
- 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} "${ED}/${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=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
-
- if use doc ; then
- 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}
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
- "${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
- elisp-site-file-install "${T}"/${SITEFILE}
- popd
- fi
-
- newinitd "${FILESDIR}"/epmd.init epmd || die
-}
-
-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
-}