dev-libs/rax - 9999 (wayland-desktop)

Search

Install

Install this version:

emerge -a =dev-libs/rax-9999

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

autounmask =dev-libs/rax-9999

Or alternatively:

emerge --autounmask-write -a =dev-libs/rax-9999

Package Information

Description:
radix tree implementation in ANSI C
Homepage:
https://github.com/antirez/rax
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 2021 Aisha Tammy
# Distributed under the terms of the ISC License

EAPI=8

inherit toolchain-funcs

DESCRIPTION="radix tree implementation in ANSI C"
HOMEPAGE="https://github.com/antirez/rax"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/antirez/rax"
else
	COMMIT="23f31ca89c669841a4dc9dda73fe09aa6f014f28"
	SRC_URI="https://github.com/antirez/rax/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
	S="${WORKDIR}/${PN}-${COMMIT}"
fi

LICENSE="BSD-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"

PATCHES=( "${FILESDIR}"/${PN}-1.2-Makefile.patch )

src_configure() {
	tc-export CC
	export LIBDIR="/usr/$(get_libdir)"
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses