mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-arch/lzip: add 1.25
installed as lzip-reference so that app-alternatives/lzip can manage the symlink. Signed-off-by: NRK <nrk@disroot.org> Part-of: https://github.com/gentoo/gentoo/pull/41869 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
3d52c135cb
commit
7d42679aed
@ -1,2 +1,4 @@
|
||||
DIST lzip-1.24.1.tar.gz 123899 BLAKE2B b387577087af5596ea49af16c44e1dfc11f78cbcc1031fc480a4e7ef1a01f4d8fb35c03d8cbeb7f6feb51e427708b1ed0f9a160e80ff938555ea3cf34f28be7c SHA512 b67b3b8ab594306dd863b6f51525ab80e90cbff3af1faf190fd7a35eac895ef869e6a1f8f503d623c16ad5c1496816c8f851abf0be5983d53052bea80afc34bd
|
||||
DIST lzip-1.24.1.tar.gz.sig 72 BLAKE2B 6b957524cbca62aed7eb1dc35284da24550d8d90c8bf95d0c84063afe5e0cc1fc6f70bd513dece615f286e0d49c1a7dfcf6940a443f293975380c8e3ada2cb2d SHA512 40cfa84a7c7e6b907d76560eae27b22cb11aea79a94a2231e041952fe0f452a4e291355f60965bd6ca712e03f4ebf5381b759409e66a4a12653a005a6a1d8395
|
||||
DIST lzip-1.25.tar.gz 115640 BLAKE2B c9215246cf792c0448d8b71c80ea822e34ecb43b580d3707570dffe31af327f42758fa07ce78d94a3b12ea0a1bb80b7868822cfffdafd467abab397723c5d6e2 SHA512 6dec5625d5668d2f6f93816b0f2d7050ef357b5ce9a9af100bde45dddc21171341c2bcb623acdde8146b7eaed2248f8e0f5f32e64f57ecc6fe6cb9a0e187b796
|
||||
DIST lzip-1.25.tar.gz.sig 72 BLAKE2B 5ff942d70f6efddb13bcc312c3cc6d30467f32a7eed797ac399ef4bca54843167ebb3ba225ee94a944d0066480c27868fd78196989bb033665ca73681def2445 SHA512 50441d67ee9d4056bad4a64772104c7cfcc80fce2221f7ad0ae3568206c9a4b8df167c55e7baef4255b3d4f740e31211f7151b2c4368dcbbcd5396e619f16934
|
||||
|
||||
52
app-arch/lzip/lzip-1.25.ebuild
Normal file
52
app-arch/lzip/lzip-1.25.ebuild
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/antoniodiazdiaz.asc
|
||||
inherit toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Lossless data compressor based on the LZMA algorithm"
|
||||
HOMEPAGE="https://www.nongnu.org/lzip/lzip.html"
|
||||
SRC_URI="
|
||||
https://download.savannah.gnu.org/releases/${PN}/${P/_/-}.tar.gz
|
||||
"
|
||||
SRC_URI+="
|
||||
verify-sig? (
|
||||
https://download.savannah.gnu.org/releases/${PN}/${P/_/-}.tar.gz.sig
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
BDEPEND="
|
||||
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
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/bin/lzip{,-reference} || die
|
||||
mv "${ED}"/usr/share/man/man1/lzip{,-reference}.1 || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -L ${EROOT}/usr/bin/lzip ]]; then
|
||||
ln -s "lzip-reference" "${EROOT}/usr/bin/lzip" || die
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user