diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-04-15 19:25:46 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-04-15 19:26:06 +0200 |
commit | 61bfa869bac4fec32d5af315506f04729650ccbd (patch) | |
tree | 946a7f6d86961b709e986386ff9f0fbe802f729a /dev-libs/libuv | |
parent | dev-vcs/mercurial: stable 5.2.2-r1 for hppa, bug #712486 (diff) | |
download | gentoo-61bfa869bac4fec32d5af315506f04729650ccbd.tar.gz gentoo-61bfa869bac4fec32d5af315506f04729650ccbd.tar.bz2 gentoo-61bfa869bac4fec32d5af315506f04729650ccbd.zip |
dev-libs/libuv: Version 1.36.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
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.36.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libuv/Manifest b/dev-libs/libuv/Manifest index ba884ef4bbc2..ccbf55ce056f 100644 --- a/dev-libs/libuv/Manifest +++ b/dev-libs/libuv/Manifest @@ -1 +1,2 @@ DIST libuv-1.35.0.tar.gz 1253950 BLAKE2B 81ed766d0ca6fc0f8d2ed0b530b9a43104a2f985f86974a30b2d0abe08327cfeb7dfdd7c5b31619fbfcd8f9ca2e03987e16856d8abfef8b9eb9afa7f8c7b0b27 SHA512 a05bfd7cab6ae74022e7120a48772a6594522fb5bc467c8c05eb4809d7c78b68fa4843d86e2e34a68d439767a27dbc49f3b1dcbc8df85bec64471c1b459989c3 +DIST libuv-1.36.0.tar.gz 1249354 BLAKE2B 5dbd41fce69de623e30d3355751d134bd020df93dec6433f7eb13b63f0305900b9446ebb3da43ea6c52651ad659d26de9006f2a5abb689c47f89b92be0963d10 SHA512 17ccffc5b1b99a05f38d56388d0f5e8c5ac099994a7f34636ba89e9e3fe1ceb139ed43b4ef75b8dd262381f7dec4d30c0ea9cb9deeda88231710c249319bf874 diff --git a/dev-libs/libuv/libuv-1.36.0.ebuild b/dev-libs/libuv/libuv-1.36.0.ebuild new file mode 100644 index 000000000000..3deb47fd69a0 --- /dev/null +++ b/dev-libs/libuv/libuv-1.36.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 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="https://github.com/libuv/libuv/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 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~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 +} |