1 |
commit: 7e0256cecbe1dc113cea6700fa42eece4fee1321 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 11:18:27 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 13:45:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e0256ce |
7 |
|
8 |
sys-libs/liburing: Bump to version 0.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/liburing/Manifest | 1 + |
14 |
sys-libs/liburing/liburing-0.6.ebuild | 44 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/sys-libs/liburing/Manifest b/sys-libs/liburing/Manifest |
18 |
index 1cda07942a5..5f1cb2a00f9 100644 |
19 |
--- a/sys-libs/liburing/Manifest |
20 |
+++ b/sys-libs/liburing/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST liburing-0.5.tar.bz2 75525 BLAKE2B 7b58a59212a6c3527c0adfc102add73dc875885bcdcd6ba9dcd64020d6c8f277b5cc0e1d33860aab0d9495f0409461278175aed7483aa9c44d3c7f78b1238920 SHA512 70202f25fad89787c5c0f0022dddebd3f5ff8eb572ec50c36cc3980f291b456de445c1cf411761be1438e22c69bdb446e1e5b3c10317ec00cb3412a63508faa4 |
23 |
+DIST liburing-0.6.tar.bz2 81429 BLAKE2B f905238a324d5e3f4fd0c572aa7db7a2c337aea282175d2a0f89802588d3900d2fb3ef8d6787aea38a406f1ccc57bf143864b708a4716783b09d4208164d2d99 SHA512 07fb0f61cc1d204bd340ef55ec65579a718ca266e4b9c8cdd6e47ae06defa3a9521e83fb3e6ed7c8910f52428dd62f4af900c4ec13c3509c7e366b4c13e7feb5 |
24 |
|
25 |
diff --git a/sys-libs/liburing/liburing-0.6.ebuild b/sys-libs/liburing/liburing-0.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..19e5f7fbdf8 |
28 |
--- /dev/null |
29 |
+++ b/sys-libs/liburing/liburing-0.6.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit multilib-minimal toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Efficient I/O with io_uring" |
39 |
+HOMEPAGE="https://github.com/axboe/liburing" |
40 |
+SRC_URI="https://git.kernel.dk/cgit/${PN}/snapshot/${P}.tar.bz2" |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+ |
44 |
+KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~sparc ~x86" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ multilib_copy_sources |
50 |
+} |
51 |
+ |
52 |
+multilib_src_configure() { |
53 |
+ local myconf=( |
54 |
+ --prefix="${EPREFIX}/usr" |
55 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" |
56 |
+ --libdevdir="${EPREFIX}/usr/$(get_libdir)" |
57 |
+ --mandir="${EPREFIX}/usr/share/man" |
58 |
+ --cc="$(tc-getCC)" |
59 |
+ ) |
60 |
+ # No autotools configure! "econf" will fail. |
61 |
+ TMPDIR="${T}" ./configure "${myconf[@]}" |
62 |
+} |
63 |
+ |
64 |
+multilib_src_compile() { |
65 |
+ emake V=1 |
66 |
+} |
67 |
+ |
68 |
+multilib_src_install_all() { |
69 |
+ einstalldocs |
70 |
+ |
71 |
+ if ! use static-libs ; then |
72 |
+ find "${ED}" -type f -name "*.a" -delete || die |
73 |
+ fi |
74 |
+} |