dev-cpp/landlockpp - 0.1 (fem-overlay)

Search

Package Information

Description:
C++ library for best-effort Landlock support
Homepage:
https://gitlab.fem-net.de/admindb/landlockpp/
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit meson

MY_P="${PN}-v${PV}"

DESCRIPTION="C++ library for best-effort Landlock support"
HOMEPAGE="https://gitlab.fem-net.de/admindb/landlockpp/"
SRC_URI="https://gitlab.fem-net.de/admindb/landlockpp/-/archive/v${PV}/${MY_P}.tar.bz2"

S="${WORKDIR}/${MY_P}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"

DEPEND="
	sys-kernel/linux-headers
	test? (
		dev-cpp/catch:0
	)
"

RESTRICT="!test? ( test )"

PATCHES=(
	"${FILESDIR}/${P}-meson-test.patch"
)

src_configure() {
	local emesonargs=(
		"$(meson_use test)"
	)
	meson_src_configure
}

USE Flags

Dependencies

DEPEND

	sys-kernel/linux-headers
	test? (
		dev-cpp/catch:0
	)

Manifest for 0.1

Type File Size Source URLs
DIST landlockpp-v0.1.tar.bz2 21843 bytes https://gitlab.fem-net.de/admindb/landlockpp/-/archive/v0.1/landlockpp-v0.1.tar.bz2