app-arch/lha: add 114i_p20250112

Bug: https://bugs.gentoo.org/929097
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40781
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2025-02-27 03:55:33 +02:00 committed by Sam James
parent a6849c4f64
commit d7e5eaae0c
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 37 additions and 0 deletions

View File

@ -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

View File

@ -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
}