Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libuv/
Date: Fri, 15 Mar 2019 15:08:23
Message-Id: 1552662495.6c5a74a1c6b30ad867f8b33f8ffd89f293063c1e.jer@gentoo
1 commit: 6c5a74a1c6b30ad867f8b33f8ffd89f293063c1e
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 15 15:00:20 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 15 15:08:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5a74a1
7
8 dev-libs/libuv: Add live ebuild
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 dev-libs/libuv/libuv-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++
14 1 file changed, 47 insertions(+)
15
16 diff --git a/dev-libs/libuv/libuv-9999.ebuild b/dev-libs/libuv/libuv-9999.ebuild
17 new file mode 100644
18 index 00000000000..5e8f4c3920c
19 --- /dev/null
20 +++ b/dev-libs/libuv/libuv-9999.ebuild
21 @@ -0,0 +1,47 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit autotools git-r3 multilib-minimal
27 +
28 +DESCRIPTION="Cross-platform asychronous I/O"
29 +HOMEPAGE="https://github.com/libuv/libuv"
30 +EGIT_REPO_URI="${HOMEPAGE}"
31 +
32 +LICENSE="BSD BSD-2 ISC MIT"
33 +SLOT="0/1"
34 +KEYWORDS=""
35 +IUSE="static-libs"
36 +RESTRICT="test"
37 +
38 +DEPEND="sys-devel/libtool
39 + virtual/pkgconfig[${MULTILIB_USEDEP}]"
40 +
41 +src_prepare() {
42 + default
43 +
44 + echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
45 + > m4/libuv-extra-automake-flags.m4 || die
46 +
47 + # upstream fails to ship a configure script
48 + eautoreconf
49 +}
50 +
51 +multilib_src_configure() {
52 + local myeconfargs=(
53 + cc_cv_cflags__g=no
54 + $(use_enable static-libs static)
55 + )
56 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
57 +}
58 +
59 +multilib_src_test() {
60 + mkdir "${BUILD_DIR}"/test || die
61 + cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
62 + default
63 +}
64 +
65 +multilib_src_install_all() {
66 + einstalldocs
67 + find "${D}" -name '*.la' -delete || die
68 +}