mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
37 lines
778 B
Bash
37 lines
778 B
Bash
# 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"
|
|
|
|
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
|
|
}
|