diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-11-15 17:25:25 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-11-21 11:42:01 +0100 |
commit | 2335f5d09bba77f6a00c25287ed2fb12e9f1afb1 (patch) | |
tree | 2603925aacb9d82cde30c44b681ac728df008d7b /dev-libs/libuv | |
parent | dev-libs/libuv: Maintain (diff) | |
download | gentoo-2335f5d09bba77f6a00c25287ed2fb12e9f1afb1.tar.gz gentoo-2335f5d09bba77f6a00c25287ed2fb12e9f1afb1.tar.bz2 gentoo-2335f5d09bba77f6a00c25287ed2fb12e9f1afb1.zip |
dev-libs/libuv: Version 1.24.0
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-libs/libuv')
-rw-r--r-- | dev-libs/libuv/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libuv/libuv-1.24.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libuv/Manifest b/dev-libs/libuv/Manifest index 1347b13fcf24..e82b91b84fa8 100644 --- a/dev-libs/libuv/Manifest +++ b/dev-libs/libuv/Manifest @@ -5,3 +5,4 @@ DIST libuv-1.22.0.tar.gz 1186080 BLAKE2B 5e909c36e5ff75fb199f52d5910bb092ca4117c DIST libuv-1.23.0.tar.gz 1189014 BLAKE2B 1bb2330773b8e7e7ee00e7000ea4076e0d93c3f54f7dc4e8ae0c6c73c652a406c907ee16a2364fc8688c7cc7a367fd3dab7a8b4885caf06a0196cb3d09fe7fb3 SHA512 d1622ea9c03661ce2dfa18e1725fc1bfdf3b16d7e40babc552dcc5b2f86d52f4dd81cac9bf89914024b11e4ed3671264dfcfba867cfa3b1a2206b89c59c95851 DIST libuv-1.23.1.tar.gz 1190885 BLAKE2B 6a14ad9972f9f7e78627c2f1d0891c058189a26822fb99432f704ef959ad5d98a4f8308255e924ca87d14c6f64e38ed3ecf9d9203f5a51e70f555e12b32c33d7 SHA512 5c3170dea49d7954f5780bc94d5c021a8e1bf91e2d17188335825f1dc1098a8826d5eb9dac4be318ec68275888d0dfa9579a841d43de0c3520c89ab0dc70e5ab DIST libuv-1.23.2.tar.gz 1192529 BLAKE2B 045e7d46b9b45fb415be1827692021ae85a86b5a5b2fc5677de5d160e3b39c40a3379223fedd1ae7265707003f62e130b0c101b4fd367b9f44cd0daaa7d35dd5 SHA512 f91accf4ba9987fad23cc546a9821c3d643f8505cae22e0cbe28c4d5d5cb6b370b3483c6d95195cff3bcddd1e94f1bdab740075c3eaf22f8f673f7a57c1fdfc5 +DIST libuv-1.24.0.tar.gz 1201665 BLAKE2B 746d17fbe79f820ba66c4445a1ca7cc88bf5f6bc30a14b4a5101356d9f7305ffe5b6eafc05471886b9196e19e02fa2d74b77bdfbd5c210a2fc34c0408886d7e2 SHA512 b75dac19e99497b059b9b8ce646266c4fa10f1259f5fd74554f7f614f7b70f4b62b9c756316d9a3eed6cf6b9d61f5acde9f6eedb88d30431f6a5c87169487ec6 diff --git a/dev-libs/libuv/libuv-1.24.0.ebuild b/dev-libs/libuv/libuv-1.24.0.ebuild new file mode 100644 index 000000000000..446058848236 --- /dev/null +++ b/dev-libs/libuv/libuv-1.24.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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 +} |