mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
@@ -1 +1,2 @@
|
||||
DIST bfs-4.0.6.tar.gz 288676 BLAKE2B 9454e03562bd222bed70c7d060be632556388cc9c603bed0c6df2d9d9eab8950c8ad22629539cf07cd9f939564fd3efe5ff5a45e21f1262ce70297585afd2480 SHA512 60552e6890d178e7627bfb63b3c17d0b109bba742a10463a06bc603e0fa6069abad573c7fc1b8485539f0c13566e677fa888906dc6f0d42cf7a04252f6e01d0e
|
||||
DIST bfs-4.0.7.tar.gz 296696 BLAKE2B 0157a41dd8f2d1e398eb17e50d53b976f875887fa271cf23495cc35c25e05a4077293da3dbaf222b03f67e008fd6732f9f961342c916848fb0a9bfe947819beb SHA512 e9f5ba7f8d3e69cbd97fab81a86889ffb8c15b8d2e8465fe006df82f3ccf3841ea2b18a45722088f0f82929f49b2aedb8385fc6f8cc2c9333483765bd5c2fd29
|
||||
|
||||
60
sys-apps/bfs/bfs-4.0.7.ebuild
Normal file
60
sys-apps/bfs/bfs-4.0.7.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Breadth-first version of the UNIX find command"
|
||||
HOMEPAGE="https://tavianator.com/projects/bfs.html"
|
||||
SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="0BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc"
|
||||
IUSE="acl caps debug io-uring selinux unicode"
|
||||
|
||||
DEPEND="
|
||||
acl? ( virtual/acl )
|
||||
caps? ( sys-libs/libcap )
|
||||
io-uring? ( sys-libs/liburing:= )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# Not available on Linux
|
||||
acl_is_trivial_np acl_trivial fdclosedir getdents getprogname
|
||||
posix_spawn_file_actions_addfchdir getmntinfo posix_getdents strtofflags
|
||||
# Seems to be in POSIX 2024 but not yet in ncurses?
|
||||
tcgetwinsize
|
||||
tcsetwinsize
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export CC PKG_CONFIG
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
|
||||
edo ./configure \
|
||||
$(use_with acl libacl) \
|
||||
$(use_with caps libcap) \
|
||||
$(use_with selinux libselinux) \
|
||||
$(use_with io-uring liburing) \
|
||||
$(use_with unicode oniguruma) \
|
||||
V=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# -n check gets confused so need manual src_test definition?
|
||||
emake V=1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake V=1 DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user