app-misc/zisofs-tools: Sync with Gentoo

It's from Gentoo commit a90b7d3dd874a0384525aa1a57a70b3043a85bc1.
This commit is contained in:
Krzesimir Nowak 2023-12-07 16:31:41 +01:00
parent 742e9973d5
commit 0eb5b1046e

View File

@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
inherit flag-o-matic
inherit autotools flag-o-matic
DESCRIPTION="User utilities for zisofs" DESCRIPTION="User utilities for zisofs"
HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/zisofs/" HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/zisofs/"
@ -10,12 +11,20 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static" IUSE="static"
RDEPEND=">=sys-libs/zlib-1.1.4:0=" RDEPEND=">=sys-libs/zlib-1.1.4:="
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
src_prepare() {
default
# Clang 16
sed -i -e 's:configure.in:configure.ac:' Makefile || die
eautoreconf
}
src_configure() { src_configure() {
use static && append-ldflags -static use static && append-ldflags -static
default default