sys-fs/erofs-utils: user-space utilities for erofs

New package, taken from https://bugs.gentoo.org/701284
Added metadata.xml.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2020-12-05 19:10:34 +05:00
parent fbe3fe601d
commit b4ee7252ca
3 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Userspace tools for EROFS images"
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
SRC_URI="${HOMEPAGE}/snapshot/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="lz4 +uuid"
RDEPEND="
lz4? ( >=app-arch/lz4-1.9 )
uuid? ( sys-apps/util-linux )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_enable lz4) \
$(use_with uuid)
}