dev-libs/scalloc - 9999 (junkdrawer)

Search

Install

Install this version:

emerge -a =dev-libs/scalloc-9999

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

autounmask =dev-libs/scalloc-9999

Or alternatively:

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

Package Information

Description:
A Fast, Multicore-Scalable, Low-Fragmentation Memory Allocator
Homepage:
http://scalloc.cs.uni-salzburg.at/
License:
BSD-2

Ebuild Details

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

EAPI=8

DESCRIPTION="A Fast, Multicore-Scalable, Low-Fragmentation Memory Allocator"
HOMEPAGE="http://scalloc.cs.uni-salzburg.at/"
if [[ $PV == "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/cksystemsgroup/scalloc"
else
	SRC_URI="https://github.com/cksystemsgroup/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="BSD-2"
SLOT="0"
IUSE="debug"

DEPEND="dev-util/gyp"
RDEPEND=""

PATCHES=( "${FILESDIR}/${PN}-no-Werror.patch" )

src_configure() {
	gyp --depth=. scalloc.gyp || die
}

src_compile() {
	if use debug; then
		BUILDTYPE=Debug
	else
		BUILDTYPE=Release
	fi

	BUILDTYPE=$BUILDTYPE make
}

src_install() {
	dolib.so out/${BUILDTYPE}/lib.target/lib${PN}.so
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

dev-util/gyp