mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-25 08:28:12 +02:00
34 lines
952 B
Bash
34 lines
952 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/antoniodiazdiaz.asc
|
|
inherit toolchain-funcs verify-sig
|
|
|
|
DESCRIPTION="Lziprecover is a data recovery tool and decompressor for lzip compressed files"
|
|
HOMEPAGE="https://www.nongnu.org/lzip/lziprecover.html"
|
|
SRC_URI="https://download.savannah.gnu.org/releases/lzip/${PN}/${P/_/-}.tar.gz"
|
|
SRC_URI+=" verify-sig? ( https://download.savannah.gnu.org/releases/lzip/${PN}/${P/_/-}.tar.gz.sig )"
|
|
S="${WORKDIR}/${P/_/-}"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
BDEPEND="
|
|
test? ( app-arch/lzip )
|
|
verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )
|
|
"
|
|
|
|
src_configure() {
|
|
# not autotools-based
|
|
./configure \
|
|
--prefix="${EPREFIX}"/usr \
|
|
CXX="$(tc-getCXX)" \
|
|
CPPFLAGS="${CPPFLAGS}" \
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}" || die
|
|
}
|