dev-libs/libkeccak - 1.2 (jm-overlay)

Search

Install

Install this version:

emerge -a =dev-libs/libkeccak-1.2

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

autounmask =dev-libs/libkeccak-1.2

Or alternatively:

emerge --autounmask-write -a =dev-libs/libkeccak-1.2

Package Information

Description:
Keccak-family hashing library
Homepage:
https://github.com/maandree/libkeccak
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
1.2 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs multilib-minimal

DESCRIPTION="Keccak-family hashing library"
HOMEPAGE="https://github.com/maandree/libkeccak"
SRC_URI="https://github.com/maandree/libkeccak/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

BDEPEND="sys-apps/texinfo"
DEPEND="test? ( dev-debug/valgrind )"
RDEPEND=""

src_prepare() {
	sed -i "/licenses/d" Makefile || die # Don't install the license
	eapply_user
	multilib_copy_sources
}

multilib_src_configure() {
	sed -i "s|(PREFIX)/lib|(PREFIX)/$(get_libdir)|g" Makefile || die
}

multilib_src_compile() {
	tc-export CC
	emake CFLAGS="${CFLAGS}" LDFLAGS=""
}

multilib_src_install() {
	emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

test? ( dev-debug/valgrind )

BDEPEND

sys-apps/texinfo

Manifest for 1.2

Type File Size Source URLs
DIST libkeccak-1.2.tar.gz 39864 bytes https://github.com/maandree/libkeccak/archive/1.2.tar.gz