1 |
commit: 06a904ede15d36982b9dfabed17754cd1acd3165 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 8 17:29:52 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 8 17:57:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a904ed |
7 |
|
8 |
dev-libs/libuv: bump to EAPI 6, add maintainer-needed |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-libs/libuv/libuv-1.9.1-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++++ |
13 |
dev-libs/libuv/metadata.xml | 1 + |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libuv/libuv-1.9.1-r1.ebuild b/dev-libs/libuv/libuv-1.9.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..09b6ecc |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libuv/libuv-1.9.1-r1.ebuild |
21 |
@@ -0,0 +1,46 @@ |
22 |
+# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit autotools eutils multilib-minimal |
29 |
+ |
30 |
+DESCRIPTION="Cross-platform asychronous I/O" |
31 |
+HOMEPAGE="https://github.com/libuv/libuv" |
32 |
+SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="BSD BSD-2 ISC MIT" |
35 |
+SLOT="0/1" |
36 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
37 |
+IUSE="static-libs" |
38 |
+RESTRICT="test" |
39 |
+ |
40 |
+DEPEND="sys-devel/libtool |
41 |
+ virtual/pkgconfig[${MULTILIB_USEDEP}]" |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ default |
45 |
+ |
46 |
+ echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ |
47 |
+ > m4/libuv-extra-automake-flags.m4 || die |
48 |
+ |
49 |
+ eautoreconf |
50 |
+} |
51 |
+ |
52 |
+multilib_src_configure() { |
53 |
+ ECONF_SOURCE="${S}" econf \ |
54 |
+ cc_cv_cflags__g=no \ |
55 |
+ $(use_enable static-libs static) |
56 |
+} |
57 |
+ |
58 |
+multilib_src_test() { |
59 |
+ mkdir "${BUILD_DIR}"/test || die |
60 |
+ cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die |
61 |
+ default |
62 |
+} |
63 |
+ |
64 |
+multilib_src_install_all() { |
65 |
+ einstalldocs |
66 |
+ prune_libtool_files |
67 |
+} |
68 |
|
69 |
diff --git a/dev-libs/libuv/metadata.xml b/dev-libs/libuv/metadata.xml |
70 |
index 1e911aa..5913682 100644 |
71 |
--- a/dev-libs/libuv/metadata.xml |
72 |
+++ b/dev-libs/libuv/metadata.xml |
73 |
@@ -1,6 +1,7 @@ |
74 |
<?xml version="1.0" encoding="UTF-8"?> |
75 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
76 |
<pkgmetadata> |
77 |
+ <!-- maintainer-needed --> |
78 |
<longdescription lang="en"> |
79 |
libuv is a platform layer for node.js. Its purpose is to abstract |
80 |
IOCP on Windows and epoll/kqueue/event ports/etc. on Unix systems. |