diff options
Diffstat (limited to 'dev-libs/libuv')
-rw-r--r-- | dev-libs/libuv/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libuv/libuv-1.26.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libuv/Manifest b/dev-libs/libuv/Manifest index 490f2461000b..571ae3e5c345 100644 --- a/dev-libs/libuv/Manifest +++ b/dev-libs/libuv/Manifest @@ -8,3 +8,4 @@ DIST libuv-1.23.2.tar.gz 1192529 BLAKE2B 045e7d46b9b45fb415be1827692021ae85a86b5 DIST libuv-1.24.0.tar.gz 1201665 BLAKE2B 746d17fbe79f820ba66c4445a1ca7cc88bf5f6bc30a14b4a5101356d9f7305ffe5b6eafc05471886b9196e19e02fa2d74b77bdfbd5c210a2fc34c0408886d7e2 SHA512 b75dac19e99497b059b9b8ce646266c4fa10f1259f5fd74554f7f614f7b70f4b62b9c756316d9a3eed6cf6b9d61f5acde9f6eedb88d30431f6a5c87169487ec6 DIST libuv-1.24.1.tar.gz 1204222 BLAKE2B 8f70043702712adc336bee67141e7901036246ea67737f89174aabe26823909f07d6ba3394d9625dd63e200ab4265f97790c138f84d5e74d9a7bf82dcf06ef20 SHA512 19cb03a7a62ad2a1f392e1de3e4fdb622e3ac5afe890bfb819c30118f4745f81ecc343d5b633eebb8471fdfb4025652bbface245fd616c55346aae82376f6836 DIST libuv-1.25.0.tar.gz 1207205 BLAKE2B d524a675c236a6af935fdc95efdaf77a22506a86d309edb3535692fa5a9d8eb06711bf4687274c2d10a65640ad37ef06a2460b14b1f90084ff03b86ce7b0f306 SHA512 d1024f9193e2ad69cc670441b74ff7c63ca7d295e9a7a43c90da6781a39352687465bfe7e852d6e9085c21821bf8d11c10139c7229759fdce567d809c605acfd +DIST libuv-1.26.0.tar.gz 1209551 BLAKE2B c4acc6716da5a4c01611dbc09bff2451536c3dcdbb17e5ca45fe2da97333d49a358dc8ca5607b8bde0b8bb4bd7a9bac76c3572ff23b6d5c97b337f133124a2d5 SHA512 c38e36d4d700090f48f9d997302968d9fe2382d21695b2d5b30776149f1739f66cd03458937a11309efe326bdad8c12abe8bf0f0e210d30cc2de4d9ab651d1e3 diff --git a/dev-libs/libuv/libuv-1.26.0.ebuild b/dev-libs/libuv/libuv-1.26.0.ebuild new file mode 100644 index 000000000000..6fe68c68f88e --- /dev/null +++ b/dev-libs/libuv/libuv-1.26.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools multilib-minimal + +DESCRIPTION="Cross-platform asychronous I/O" +HOMEPAGE="https://github.com/libuv/libuv" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD BSD-2 ISC MIT" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" +RESTRICT="test" + +DEPEND="sys-devel/libtool + virtual/pkgconfig[${MULTILIB_USEDEP}]" + +src_prepare() { + default + + echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ + > m4/libuv-extra-automake-flags.m4 || die + + # upstream fails to ship a configure script + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + cc_cv_cflags__g=no + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + mkdir "${BUILD_DIR}"/test || die + cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die + default +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} |