diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-03-02 17:27:13 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-03-02 18:10:13 +0100 |
commit | 9398e247b56c584b4c55a05bdecae2cb2ab44bc0 (patch) | |
tree | a41ee7e3bfb1af3332446eb3d4f70a6e8fe5f259 /sys-libs/liburing | |
parent | sys-libs/ldb: Bump to version 2.1.1 (diff) | |
download | gentoo-9398e247b56c584b4c55a05bdecae2cb2ab44bc0.tar.gz gentoo-9398e247b56c584b4c55a05bdecae2cb2ab44bc0.tar.bz2 gentoo-9398e247b56c584b4c55a05bdecae2cb2ab44bc0.zip |
sys-libs/liburing: Initial commit
Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/liburing')
-rw-r--r-- | sys-libs/liburing/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/liburing/liburing-0.5.ebuild | 44 | ||||
-rw-r--r-- | sys-libs/liburing/metadata.xml | 11 |
3 files changed, 56 insertions, 0 deletions
diff --git a/sys-libs/liburing/Manifest b/sys-libs/liburing/Manifest new file mode 100644 index 000000000000..1cda07942a5e --- /dev/null +++ b/sys-libs/liburing/Manifest @@ -0,0 +1 @@ +DIST liburing-0.5.tar.bz2 75525 BLAKE2B 7b58a59212a6c3527c0adfc102add73dc875885bcdcd6ba9dcd64020d6c8f277b5cc0e1d33860aab0d9495f0409461278175aed7483aa9c44d3c7f78b1238920 SHA512 70202f25fad89787c5c0f0022dddebd3f5ff8eb572ec50c36cc3980f291b456de445c1cf411761be1438e22c69bdb446e1e5b3c10317ec00cb3412a63508faa4 diff --git a/sys-libs/liburing/liburing-0.5.ebuild b/sys-libs/liburing/liburing-0.5.ebuild new file mode 100644 index 000000000000..df14f2d99ec8 --- /dev/null +++ b/sys-libs/liburing/liburing-0.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="Efficient I/O with io_uring" +HOMEPAGE="https://github.com/axboe/liburing" +SRC_URI="https://git.kernel.dk/cgit/${PN}/snapshot/${P}.tar.bz2" +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + local myconf=( + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/usr/$(get_libdir)" + --libdevdir="${EPREFIX}/usr/$(get_libdir)" + --mandir="${EPREFIX}/usr/share/man" + --cc="$(tc-getCC)" + ) + # No autotools configure! "econf" will fail. + TMPDIR="${T}" ./configure "${myconf[@]}" +} + +multilib_src_compile() { + emake V=1 +} + +multilib_src_install_all() { + einstalldocs + + if ! use static-libs ; then + find "${ED}" -type f -name "*.a" -delete || die + fi +} diff --git a/sys-libs/liburing/metadata.xml b/sys-libs/liburing/metadata.xml new file mode 100644 index 000000000000..e9a23bab52b3 --- /dev/null +++ b/sys-libs/liburing/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + </maintainer> + <upstream> + <remote-id type="github">axboe/liburing</remote-id> + </upstream> +</pkgmetadata> |