dev-util/bdelta - 0.3.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-util/bdelta-0.3.1

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

autounmask =dev-util/bdelta-0.3.1

Or alternatively:

emerge --autounmask-write -a =dev-util/bdelta-0.3.1

Package Information

Description:
Binary Delta - Efficient difference algorithm and format
Homepage:
https://github.com/jjwhitney/BDelta
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
0.3.1 7 ~alpha ~amd64 ~ppc ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs vcs-snapshot

DESCRIPTION="Binary Delta - Efficient difference algorithm and format"
HOMEPAGE="https://github.com/jjwhitney/BDelta"
SRC_URI="https://github.com/jjwhitney/BDelta/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"

PATCHES=(
	"${FILESDIR}"/${P}-soname.patch
	"${FILESDIR}"/${P}-gcc-6.patch
)

src_compile() {
	emake -C src \
		CXX="$(tc-getCXX)" \
		CXXFLAGS="${CXXFLAGS}"
}

src_install() {
	emake -C src install \
		DESTDIR="${D}" \
		PREFIX="${EPREFIX}/usr" \
		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
	dodoc README
}

Inherited Eclasses

Manifest for 0.3.1

Type File Size Source URLs
DIST bdelta-0.3.1.tar.gz 14476 bytes https://github.com/jjwhitney/BDelta/archive/v0.3.1.tar.gz