diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /dev-libs/libuev/libuev-2.3.2-r1.ebuild | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'dev-libs/libuev/libuev-2.3.2-r1.ebuild')
-rw-r--r-- | dev-libs/libuev/libuev-2.3.2-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/libuev/libuev-2.3.2-r1.ebuild b/dev-libs/libuev/libuev-2.3.2-r1.ebuild new file mode 100644 index 000000000000..f8a20c0605ff --- /dev/null +++ b/dev-libs/libuev/libuev-2.3.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Lightweight event loop library for Linux epoll() family APIs" +HOMEPAGE="https://github.com/troglobit/libuev" +SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +PATCHES=( + "${FILESDIR}/${PN}"-fix-tests.patch + "${FILESDIR}/${PN}"-large-files-fix.patch +) + +src_prepare() { + default + + # Needed for glibc/LFS patches + eautoreconf +} + +src_configure() { + econf --enable-static=$(usex static-libs) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + rm "${D}/usr/share/doc/${PF}/LICENSE" || die +} |