diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /dev-lang/erlang | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'dev-lang/erlang')
-rw-r--r-- | dev-lang/erlang/Manifest | 16 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-21.1.1.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.0.2-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.0.7.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.1.1.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.1.3.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.1.4.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.1.6.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-22.1.7.ebuild | 150 |
9 files changed, 166 insertions, 14 deletions
diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest index 086b3a7321aa..323e26a76b5b 100644 --- a/dev-lang/erlang/Manifest +++ b/dev-lang/erlang/Manifest @@ -18,17 +18,19 @@ DIST erlang-22.1.1.tar.gz 54951145 BLAKE2B 917813f750eacd3dc7da25f1fa9e1f9c55e6c DIST erlang-22.1.3.tar.gz 54957002 BLAKE2B 4ae843b871dec2c365b55380484fd434eac7d97189b94568985154fb524bb99bf4240925b64cccb7ac7dfc9168e731a29db69d90278162f7dda51077ee6441fc SHA512 72e71d7a78a4881d85ebb13a4443385efbf0233f5221c6322a0a28be363f511037aa657ae021f642eafb3983192d3a23c4bf8b6bc3545aa1cc2b27285e9974c7 DIST erlang-22.1.4.tar.gz 54957524 BLAKE2B 8960dd63eb7ae18544d8b6809760543b276ec230d5a9051d1888269770f6c44b379b6ba85ce9106f7d37b76c41b7683a545ba80569e33195e3e9211f6ced4ee3 SHA512 271a188d46a79cd1c43c3b8059b77c0802af624ff88c6916e0b84994040750d9792f0416937ed98e874256562f27d858916239d79f93b545c98b9703e5018f7b DIST erlang-22.1.6.tar.gz 54961413 BLAKE2B e1881d35bd54cf0c0ade6a1cff1d78d29f0e1540f02c6ca26e97fbc09bd2c72ccd7ab3147193dcffad6e4944c96c2b0caaf22cce5cc6c7e6ee561063c043f70d SHA512 9a64036faa9e380d4ceaff5eef287839784840fc7923b14bf58ac53302aabc9407b195b19460c780cd9b6f75abeaa2245759f85bb1f16a6e977fa6f95d9081ee +DIST erlang-22.1.7.tar.gz 54969082 BLAKE2B 4168b93e146de3dd22ec0d6088d2a2b62dc1a3d96d3c2859f65ef721a32f24ef74fb6baf3467da7b2c5b13a3b8d62602d3e94ddd359f091f548f958d9b8a77ea SHA512 72660ea481ac647a091b713a4a9240d1d008336152a41fd5f9f191c6050d42a67ddc0ff8bc51addc2e1d6f9a244516883df5025f005ae575fa101d941ac0bd05 DIST erlang_doc_html_21.1.tar.gz 32692731 BLAKE2B a7fa8ebe1c876ab7eecd2dd46ffd4d288db6d308e0f131d53c26ee4b67a92cb6fcb89b6c880ef34df395c7ad61fcdc81eac32e0fcf7336be7d517263218146bc SHA512 0d659f55bfb01eecf140a310154724489ef56b6ccbe9ac30f6b053f598276721b80de7b5b3200707cf8a6e77b8854eae5453f655225f431fcc982550539f767f DIST erlang_doc_html_22.0.tar.gz 33737075 BLAKE2B f49aba36e9b84e5bc4422052e33aab5cb407dfcf2086ddb8a2370003dc63842acc79a67d9d453ee9e59d7b69416b23527e2d9f564b2d8a58d4c46bc3a93881c4 SHA512 89229a97fb5c78246ce9fa6a2d23446c6c3c2de15617911739e133b7e58714a91b1360af64bf61659d96808a816d84e4c410f8c8efe1e544930f88d73242b6e7 DIST erlang_doc_html_22.1.tar.gz 33824830 BLAKE2B 2d50802fff81eba8bcf5f630da49d68d7cb2098175012e12f13941e69949a109c9f601c3cfaa2700b669415cd0c6c15961d8e4dd94b9b228cee17b661fe5400a SHA512 cc24927a4ff98b04d8f93fbc46bb36ffb34570521e4f31154b778dc17cf1cff60869239c26c327d7a9360c06528f9b380a302b39fa47285e50dfd4656b508202 DIST erlang_doc_man_21.1.tar.gz 1317726 BLAKE2B 5e5c2b77a41da6ab9ae1264ba5824a9f3bda6d3b7a824b372e01356888db437ed9e45bf987d678aca3fd8d0f0e6dce25080c7a2aaa4e061936f1e6ac4717e843 SHA512 94c6191ba9f42bffeb398e865026fbc79f3b233389c7d471f0c680799aa3669e97ab5305cd53f26d6525aed33d738ebfc4eb79a8f1a0b29dc4b79a2a37a29a4f DIST erlang_doc_man_22.0.tar.gz 1347830 BLAKE2B 52fd7adf46c9727dba70edc73150b2c7e9b96728ccb0af6d717ab9881bcb38fd98cd1d9d8ff9b28688889cf162230dc0f054377446a21d9114ad70e706aef863 SHA512 f980439d21aea6e1487afbd2e22a1a909cee40bd2464569219159bd38048d7d8d7adc9c5c639c04d5fe3160d090b51f2fd33b3ef479969731ce1861338278e41 DIST erlang_doc_man_22.1.tar.gz 1355169 BLAKE2B eca02e36709587d59099dd87263b3ffcea55002cbcbf0a9980fface3cc30cb4ce0210fbdf80c8957da7a09a3b866ca81be22fd577f7f948562ef4e4ca516cbf5 SHA512 4f590f82293c97529c827c042bce673e6777c577e52e0e1876a8d6c1a0dc774c09637e85e3562f9a8af44372219d57174c002cc12a9646ae015c7bb1da34c750 -EBUILD erlang-21.1.1.ebuild 4418 BLAKE2B 051bafa85467489c96615c69d7d142423ed674004fecde732be47a53df2f7b91be0fc63a32001f4907fae2baab5ba25f49ffdc8d402ead46ce315e37772e10af SHA512 28b06323df4984d864e2746de4cc41450473a65e4e5fedebba0dc9d03252dd068dea38b1ba5afc5c05973574248a8d9fc11df0c6379d08abc8dab5c5402da4c3 -EBUILD erlang-22.0.2-r2.ebuild 4130 BLAKE2B b0ca90d277fd78102862f66806af85a811f3f5ce20b252761f527a58ab6218e2f5223392678b5df9a112736936e94e14bc22ef80bdec8164f589fdd49fca4009 SHA512 4d69fae2f95d7dd139e9a0a5ee94e23b8f4a028a592c3afdbc1fcad3de03bd13bc4bba6e0c8baa9c6b6e448e125309776f60a07407abc556e23c5c184e267f8f -EBUILD erlang-22.0.7.ebuild 4154 BLAKE2B e91c02eb7cbed3c9b09e2791d8e4130e4d5fe53769d7b42fb3569c58db9eda666d06bd958351c5d1c4a96552df9a5be9fa2d2ed68bbc101cf1aeb769d8726c64 SHA512 2be08de1657e5b9e767c4a41deacefef1f1170bbc47bcb759dcbb6903d908b099149f740bd5697e15d4468c6953c4934520fa4a1ae689f1c827ddca1a0a02564 -EBUILD erlang-22.1.1.ebuild 4134 BLAKE2B 4d18913cb67ad7f12fd65d608b88ae0fcac6affa688a3310ed3ec0bf87fbea1abebfbba96f709affea8fb0092f65d71698ac8c7297c8ce757bdbd6c57e1c243d SHA512 85be833467043fc060f2be45dd96038ff2d33d4fa928dd786353af28a105263431039a35eedf9b3aa38dc29a56ba77213eaaa175f3a7d6288db76c9dca30048a -EBUILD erlang-22.1.3.ebuild 4139 BLAKE2B 3eacf6e547b2d06a999102b5926165cc544ea5862f5f2f1e303384573aee6dbc44a1f3809b4dc42c16600fb55658d94849d661f5eccd2718ed6f84f76e37587b SHA512 ee18dec2b0e3d8ee82a5fcb80d289d65cd69de50388e2a6b5d44d9e4930af9cbe87f95f56fb6bef43cc58e7db92c1793c4d30037401dc3b7a5a977c123923fa2 -EBUILD erlang-22.1.4.ebuild 4139 BLAKE2B 3eacf6e547b2d06a999102b5926165cc544ea5862f5f2f1e303384573aee6dbc44a1f3809b4dc42c16600fb55658d94849d661f5eccd2718ed6f84f76e37587b SHA512 ee18dec2b0e3d8ee82a5fcb80d289d65cd69de50388e2a6b5d44d9e4930af9cbe87f95f56fb6bef43cc58e7db92c1793c4d30037401dc3b7a5a977c123923fa2 -EBUILD erlang-22.1.6.ebuild 4139 BLAKE2B 3eacf6e547b2d06a999102b5926165cc544ea5862f5f2f1e303384573aee6dbc44a1f3809b4dc42c16600fb55658d94849d661f5eccd2718ed6f84f76e37587b SHA512 ee18dec2b0e3d8ee82a5fcb80d289d65cd69de50388e2a6b5d44d9e4930af9cbe87f95f56fb6bef43cc58e7db92c1793c4d30037401dc3b7a5a977c123923fa2 +EBUILD erlang-21.1.1.ebuild 4412 BLAKE2B 32415a56c156eb60cefe2576d02c8ad0d4d1b32ba20319a5d23c497b632e5d7a075294268a14ddea608822a943b84347d21e4c55d558b028983bf95c10bd7dcc SHA512 775f3e3b6351050d0eb8793137645a1b8a881860306e0fcedb8ba8ba97013d5de404d6577c8c22c612898be040691b5633a67ebf861d983378b4c4f03db6c9b6 +EBUILD erlang-22.0.2-r2.ebuild 4123 BLAKE2B 0bd2f89a8aa30590aa3e64c152a430aff47179804b0c5cf08f3c1f2fc6483a235011b24d4ee633af8f47129da4fb9d59a695209547e47f8a0faf197886459ba9 SHA512 7df9f4c238b3b2d6d179ddd0664a137d275821e8667440fa8f7ac353db27d67f9ed344d4543bc7ee9a25ebadb95fa19060e8599c924dcddeb2c763b4c24af02b +EBUILD erlang-22.0.7.ebuild 4147 BLAKE2B dc1de55fe1f971c1fe3dd7db1741fc2fbbce88a265b4cb09aed9becf5677bd93e1dc29823c3324ecb957bff8ded8d792fe642c36bff4f0feb917c81bd64800a4 SHA512 02f19b9f460b7d42f5fb6f212f09084841e5d2c1903c7292ea6245800f827457e2902ac9f98731fbe3572785b944619fe466244c1e877c9c962ac4e7a6d99d11 +EBUILD erlang-22.1.1.ebuild 4127 BLAKE2B 76e072e160a76b8c107ef3f8283e6a4cf08e455fdbd3a59dbf1e846672c2eb105127eb7157e236155225d89f4ededaab061bb4227e94522860993abcf631aeda SHA512 70ac4e790eda73536bb32820637f84dff09d515ecf0f8b4129e2840567ec5811f37ae5cfb8ea950730a6f357c2aa0fce3fd0dc5f0e9e620db8e9ffdd616c3878 +EBUILD erlang-22.1.3.ebuild 4132 BLAKE2B e20375dc0709dd5779a04badba42bef6924d936e65fa2231c99a3997acc1e16b7cba74f9c7576661797993f54482b19137349091d3995da2f646417889ee5e61 SHA512 cd4725b221de87250aa92efb412a267038ab505c4baa524dd366e42bc18beb6a13c3217c8e0a8a3234c5d7551991fbe82fcf28995bb47e28e187062af0c1b43a +EBUILD erlang-22.1.4.ebuild 4132 BLAKE2B e20375dc0709dd5779a04badba42bef6924d936e65fa2231c99a3997acc1e16b7cba74f9c7576661797993f54482b19137349091d3995da2f646417889ee5e61 SHA512 cd4725b221de87250aa92efb412a267038ab505c4baa524dd366e42bc18beb6a13c3217c8e0a8a3234c5d7551991fbe82fcf28995bb47e28e187062af0c1b43a +EBUILD erlang-22.1.6.ebuild 4132 BLAKE2B e20375dc0709dd5779a04badba42bef6924d936e65fa2231c99a3997acc1e16b7cba74f9c7576661797993f54482b19137349091d3995da2f646417889ee5e61 SHA512 cd4725b221de87250aa92efb412a267038ab505c4baa524dd366e42bc18beb6a13c3217c8e0a8a3234c5d7551991fbe82fcf28995bb47e28e187062af0c1b43a +EBUILD erlang-22.1.7.ebuild 4132 BLAKE2B e20375dc0709dd5779a04badba42bef6924d936e65fa2231c99a3997acc1e16b7cba74f9c7576661797993f54482b19137349091d3995da2f646417889ee5e61 SHA512 cd4725b221de87250aa92efb412a267038ab505c4baa524dd366e42bc18beb6a13c3217c8e0a8a3234c5d7551991fbe82fcf28995bb47e28e187062af0c1b43a MISC metadata.xml 684 BLAKE2B fff20139a02c18f3bc978ed0b3920f32fc9b54ef58c809fe504284e74fdb490a6534d90d7835159a57065cd2a0404e1468c5c925ebdc65968c61ba09926f4dbf SHA512 0e85aeb8b4e13fcdd98bb2547bf448504d9cd86399d1afc580629c7f0364595b15f96a05a4727fd7ceee615111c2e533b126548389222945f6c61190d77b215c diff --git a/dev-lang/erlang/erlang-21.1.1.ebuild b/dev-lang/erlang/erlang-21.1.1.ebuild index 8cafb81279b0..d04a12e309c4 100644 --- a/dev-lang/erlang/erlang-21.1.1.ebuild +++ b/dev-lang/erlang/erlang-21.1.1.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc pgo sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.0.2-r2.ebuild b/dev-lang/erlang/erlang-22.0.2-r2.ebuild index 2cf4d9a9a6e4..2591c715e3f6 100644 --- a/dev-lang/erlang/erlang-22.0.2-r2.ebuild +++ b/dev-lang/erlang/erlang-22.0.2-r2.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.0.7.ebuild b/dev-lang/erlang/erlang-22.0.7.ebuild index ac9b83f36b5d..cf826170c80e 100644 --- a/dev-lang/erlang/erlang-22.0.7.ebuild +++ b/dev-lang/erlang/erlang-22.0.7.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.1.1.ebuild b/dev-lang/erlang/erlang-22.1.1.ebuild index 05e4be9a8728..26e520c173d5 100644 --- a/dev-lang/erlang/erlang-22.1.1.ebuild +++ b/dev-lang/erlang/erlang-22.1.1.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.1.3.ebuild b/dev-lang/erlang/erlang-22.1.3.ebuild index eff95c9be922..edcb9b79b605 100644 --- a/dev-lang/erlang/erlang-22.1.3.ebuild +++ b/dev-lang/erlang/erlang-22.1.3.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.1.4.ebuild b/dev-lang/erlang/erlang-22.1.4.ebuild index eff95c9be922..edcb9b79b605 100644 --- a/dev-lang/erlang/erlang-22.1.4.ebuild +++ b/dev-lang/erlang/erlang-22.1.4.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.1.6.ebuild b/dev-lang/erlang/erlang-22.1.6.ebuild index eff95c9be922..edcb9b79b605 100644 --- a/dev-lang/erlang/erlang-22.1.6.ebuild +++ b/dev-lang/erlang/erlang-22.1.6.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/erlang/erlang-22.1.7.ebuild b/dev-lang/erlang/erlang-22.1.7.ebuild new file mode 100644 index 000000000000..edcb9b79b605 --- /dev/null +++ b/dev-lang/erlang/erlang-22.1.7.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +WX_GTK_VER="3.0" + +inherit elisp-common java-pkg-opt-2 systemd wxwidgets + +# NOTE: If you need symlinks for binaries please tell maintainers or +# open up a bug to let it be created. + +UPSTREAM_V="$(ver_cut 1-2)" + +DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)" +HOMEPAGE="https://www.erlang.org/" +SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz + http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz + doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" + +RDEPEND=" + acct-group/epmd + acct-user/epmd + sys-libs/ncurses:0 + sys-libs/zlib + emacs? ( virtual/emacs ) + java? ( >=virtual/jdk-1.8:* ) + odbc? ( dev-db/unixODBC ) + sctp? ( net-misc/lksctp-tools ) + ssl? ( + !libressl? ( >=dev-libs/openssl-0.9.7d:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + systemd? ( sys-apps/systemd ) + tk? ( dev-lang/tk:0 ) + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) +" +DEPEND="${RDEPEND} + dev-lang/perl +" + +S="${WORKDIR}/otp-OTP-${PV}" + +PATCHES=( + "${FILESDIR}/18.2.1-wx3.0.patch" + "${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch" +) + +SITEFILE=50"${PN}"-gentoo.el + +src_prepare() { + default + + ./otp_build autoconf || die +} + +src_configure() { + use wxwidgets && setup-wxwidgets + + local myconf=( + --disable-builtin-zlib + $(use_enable hipe) + $(use_enable kpoll kernel-poll) + $(use_with java javac) + $(use_enable sctp) + $(use_with ssl ssl "${EPREFIX}"/usr) + $(use_enable ssl dynamic-ssl-lib) + $(use_enable systemd) + $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null") + ) + econf "${myconf[@]}" +} + +src_compile() { + emake + + if use emacs ; then + pushd lib/tools/emacs &>/dev/null || die + elisp-compile *.el + popd &>/dev/null || die + fi +} + +extract_version() { + local path="$1" + local var_name="$2" + sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed" +} + +src_install() { + local erl_libdir_rel="$(get_libdir)/erlang" + local erl_libdir="/usr/${erl_libdir_rel}" + local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)" + local erl_erts_ver="$(extract_version erts VSN)" + local my_manpath="/usr/share/${PN}/man" + + [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version" + [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version" + + emake INSTALL_PREFIX="${D}" install + + if use doc ; then + local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc/. "${WORKDIR}"/lib/. "${WORKDIR}"/erts-* ) + docompress -x /usr/share/doc/${PF} + else + local DOCS=("README.md") + fi + + einstalldocs + + dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl + dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc + dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript + dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call + dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp + + ## Clean up the no longer needed files + rm "${ED}/${erl_libdir}/Install" || die + + insinto "${my_manpath}" + doins -r "${WORKDIR}"/man/* + # extend MANPATH, so the normal man command can find it + # see bug 189639 + newenvd - "90erlang" <<-_EOF_ + MANPATH="${my_manpath}" + _EOF_ + + if use emacs ; then + elisp-install erlang lib/tools/emacs/*.{el,elc} + sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \ + "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die + elisp-site-file-install "${T}/${SITEFILE}" + fi + + newinitd "${FILESDIR}"/epmd.init-r2 epmd + newconfd "${FILESDIR}"/epmd.confd-r1 epmd + use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |