commit:     d7e5eaae0c9706be1ec1265c9ca9710cc8c48f67
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Feb 27 01:55:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 02:39:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e5eaae

app-arch/lha: add 114i_p20250112

Bug: https://bugs.gentoo.org/929097
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40781
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/lha/Manifest                  |  1 +
 app-arch/lha/lha-114i_p20250112.ebuild | 36 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-arch/lha/Manifest b/app-arch/lha/Manifest
index d3cf69d2774e..b81be6c501fd 100644
--- a/app-arch/lha/Manifest
+++ b/app-arch/lha/Manifest
@@ -1 +1,2 @@
 DIST lha-114i_p20210328.tar.gz 231115 BLAKE2B 
f9587fd2f99aa80498ed69f43efe189a6db12881c6ea748763e8ae071180a30578651db11cbba0216103f6a7741d37a0e55b2530a7e458046a7230f6101f05e7
 SHA512 
46fc722f9f15dbe75600c2aeecbf94357aa24da964bb03f8326d9d13affa2ea60d4ec5dd21a4f5014f2cbe4e06f4bb959aa8de89a5491e1600eafdd909b293d2
+DIST lha-114i_p20250112.tar.gz 231162 BLAKE2B 
94c8f471c99bf43ab42acb2cf8e04e65fadfb9496cb728e3d6bc1ff156390e74e5cd526657ad4d47b0842bf94ea65aaa9496bd6066d8c47613fed1a996b3c5f3
 SHA512 
dde46c906666bb261a4f2101876429f8b55b11242772e8506faf637fab9cc852c927a4ec2b7ee7a44fed5035ee172783b66e312ed9f33f6cbab3bd4f69cf082f

diff --git a/app-arch/lha/lha-114i_p20250112.ebuild 
b/app-arch/lha/lha-114i_p20250112.ebuild
new file mode 100644
index 000000000000..97bd673d9071
--- /dev/null
+++ b/app-arch/lha/lha-114i_p20250112.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+MY_COMMIT="3cbed06e786aa198cee231960bd4d19cac00c7b8"
+
+DESCRIPTION="Utility for creating and opening lzh archives"
+HOMEPAGE="https://github.com/jca02266/lha https://lha.osdn.jp";
+SRC_URI="https://github.com/jca02266/lha/archive/${MY_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+LICENSE="lha"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+
+PATCHES=(
+       "${FILESDIR}"/${P/_p*}-file-list-from-stdin.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       append-cflags -std=gnu17 #bug #943900
+       econf
+}
+
+src_install() {
+       default
+       dodoc olddoc/ChangeLog Hacking_of_LHa
+}

Reply via email to