summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-31 16:44:37 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-31 16:44:37 +0100
commit35a1e255e8e4df48000eac53ae922db26e6f8157 (patch)
treedc7b7662c00d5b9f610414e80f404f20e80abe3e /app-arch/lzip
parentapp-arch/lziprecover: Add (optional) test dep on app-arch/lzip (diff)
downloadgentoo-35a1e255e8e4df48000eac53ae922db26e6f8157.tar.gz
gentoo-35a1e255e8e4df48000eac53ae922db26e6f8157.tar.bz2
gentoo-35a1e255e8e4df48000eac53ae922db26e6f8157.zip
app-arch/lzip: Bump to 1.24
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/lzip')
-rw-r--r--app-arch/lzip/Manifest2
-rw-r--r--app-arch/lzip/lzip-1.24.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/app-arch/lzip/Manifest b/app-arch/lzip/Manifest
index 8a9706d2316c..976059b3e763 100644
--- a/app-arch/lzip/Manifest
+++ b/app-arch/lzip/Manifest
@@ -1,2 +1,4 @@
DIST lzip-1.23.tar.gz 121817 BLAKE2B 934a35e31b0db76c4dcbe2fe903f04b60471485118aa5d4001599a3c23a7db74f05f703cf430bb299795be7025f71efb225afddff85c8245e962bdadcf82aef7 SHA512 482804205b6e92fdf9cb17fb9482df7987227c7b1bef9e42d78787acfabe73995f5b1a66f847d2176423f22dce56f1122c5b1c9670f0b778c0bdad2852369c85
DIST lzip-1.23.tar.gz.sig 72 BLAKE2B 2441968deb279c25724d854cf13c2601c8a62619e9350dc063051b8c7d86a978ef39e91d7ba680152080ab537976677d3ea2fbb2071ce8a95b8f12dc65777cf3 SHA512 e49542558c8424036b5aaab348b3baa133b9b2d0ec5f8fc19557b83acb2cdbab3909d8eb51a9dd111750ae1dd81bafc2a1a4c4be4a46e8f149386c42f4ec79ce
+DIST lzip-1.24.tar.gz 123850 BLAKE2B ef6b7b51e7369b7b07ca2d5bbdd57a287f3a96866f50b327237a35ce9a4d19b2e3f7586a099ff4191c3c793de2dfe59120a42b8d744e220c4f7652d049df87f5 SHA512 119de48deaedcbfdc0bf61c57ac54b463a3cf1ec064c70095b36d18784f59e5c80bb07ad69ad0e168443d6e73f7a506a65d80a2eeae111669b3194fa5dd0ca3c
+DIST lzip-1.24.tar.gz.sig 72 BLAKE2B 629c25f2ae80932246657efeca0fcaf57024203d9739db9734e9b2df799809f7b3b9ac70afa4a47eb631865246674a2f269b2fba4fbaf58e0299efa74388c6cb SHA512 c1960f051393c26beb504e95a3e99335c3b700b3e8895bd6c3c733549a1cb56a2e51024f4d7c9655670db1877cb29680418b77642a9fdbe816d59bab1e0f2f72
diff --git a/app-arch/lzip/lzip-1.24.ebuild b/app-arch/lzip/lzip-1.24.ebuild
new file mode 100644
index 000000000000..0334aa9843a8
--- /dev/null
+++ b/app-arch/lzip/lzip-1.24.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 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 ~ia64 ~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
+}