mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
add erofs-utils
This commit is contained in:
parent
1073e8dde5
commit
4c0ab2c9df
1
sys-fs/erofs-utils/Manifest
Normal file
1
sys-fs/erofs-utils/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST erofs-utils-1.3.tar.gz 66135 BLAKE2B 1051cf387d059d71b91e0a940c86b819593902606ae4665a7801e9597dd72987385bee997d2d63b186c493557ee22118aff23161e48e25ee8f4859f9f6e46f14 SHA512 6ddd8402dab80b0375b012ed51ff02b40cbeca9a4a1ba250b14ec6aeb97317ab575e315e9d4dc77ed1d7826c202396d9c0775917106ecbd7b4048168aca0fa6c
|
42
sys-fs/erofs-utils/erofs-utils-1.3.ebuild
Normal file
42
sys-fs/erofs-utils/erofs-utils-1.3.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 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="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 mips ppc ppc64 riscv x86"
|
||||
IUSE="fuse lz4 selinux +uuid"
|
||||
|
||||
RDEPEND="
|
||||
fuse? ( sys-fs/fuse:0 )
|
||||
lz4? ( >=app-arch/lz4-1.9 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
uuid? ( sys-apps/util-linux )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable fuse) \
|
||||
$(use_enable lz4) \
|
||||
$(use_with selinux) \
|
||||
$(use_with uuid)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use fuse || rm "${ED}/usr/share/man/man1/erofsfuse.1" || die
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user