dev-libs/libkqueue - 2.7.0 (vklimovs)

Search

Install

Install this version:

emerge -a =dev-libs/libkqueue-2.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/libkqueue-2.7.0

Or alternatively:

emerge --autounmask-write -a =dev-libs/libkqueue-2.7.0

Package Information

Description:
Userspace implementation of the kqueue event notification mechanism
Homepage:
https://github.com/mheily/libkqueue
License:
ISC BSD-2

Ebuild Details

Version EAPI Keywords Slot
2.7.0 8 ~amd64 0/0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Userspace implementation of the kqueue event notification mechanism"
HOMEPAGE="https://github.com/mheily/libkqueue"
SRC_URI="https://github.com/mheily/libkqueue/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}"

# Bulk of the compiled library is ISC (src/*); only the installed sys/event.h
# is BSD-2. Upstream LICENSE splits these as "== all source ==" / "== event.h ==".
LICENSE="ISC BSD-2"
# subslot = SONAME major of libkqueue.so (currently .0), not PV; re-derive from
# `objdump -p` on each bump.
SLOT="0/0"
KEYWORDS="~amd64"
IUSE="static-libs test"
RESTRICT="!test? ( test )"

src_prepare() {
	cmake_src_prepare
	# Drop upstream's unconditional -Werror (GNU) so new compiler warnings
	# don't become hard build failures.
	sed -i 's/ -Werror//' CMakeLists.txt || die
}

src_configure() {
	local mycmakeargs=(
		-DENABLE_STATIC=$(usex static-libs)
		-DENABLE_TESTING=$(usex test)
		-DVERSION_OVERRIDE=${PV}
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/libkqueue | euse -E <flag> -p dev-libs/libkqueue | euse -D <flag> -p dev-libs/libkqueue

Global/Standard Flags

Inherited Eclasses

Manifest for 2.7.0

Type File Size Source URLs
DIST libkqueue-2.7.0.tar.gz 207244 bytes https://github.com/mheily/libkqueue/archive/v2.7.0.tar.gz