mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Thank David Michael for ebuild: https://bugs.gentoo.org/701284 Version 1.2 with patch now supports -fno-common Live ebuild (message from D.Michael): This updates the live ebuild with the new features. It doesn't need the patch from 1.2, since that's in the experimental branch. It actually does need the sed call to fix selinux+fuse at the moment, since that is not addressed upstream. I dropped it here anyway assuming it will be fixed relatively soon. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Denis Reva <denis7774@gmail.com>
39 lines
730 B
Bash
39 lines
730 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit autotools git-r3
|
|
|
|
DESCRIPTION="Userspace tools for EROFS images"
|
|
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
|
|
EGIT_BRANCH="experimental"
|
|
EGIT_REPO_URI="${HOMEPAGE}"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
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)
|
|
}
|