diff options
author | Sam James <sam@gentoo.org> | 2024-06-12 05:50:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-12 05:58:14 +0100 |
commit | df1855500c877b2ee90b0e6d51647acc6486e078 (patch) | |
tree | e5704cec6e1ef2ca42ced8360c9561e88553ad0c /sys-apps | |
parent | dev-python/uv: Bump to 0.2.11 (diff) | |
download | gentoo-df1855500c877b2ee90b0e6d51647acc6486e078.tar.gz gentoo-df1855500c877b2ee90b0e6d51647acc6486e078.tar.bz2 gentoo-df1855500c877b2ee90b0e6d51647acc6486e078.zip |
sys-apps/bfs: add 3.3.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/bfs/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/bfs/bfs-3.3.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest index e2b9e3f44db7..e7e394fb495c 100644 --- a/sys-apps/bfs/Manifest +++ b/sys-apps/bfs/Manifest @@ -1,3 +1,4 @@ DIST bfs-3.1.3.tar.gz 237696 BLAKE2B ca76ef02cd8ea65ab7d866a9c677063367c16c89b5f521da842ca0465e0485a90077009d9b5f324c7df09c1ab53036eb0f2965f372fd56762556dfbed43deb2c SHA512 4511c809666241f1b14ef3a01b80f0dc369510b67f45c1ce3e2d4445bcec9a4b86fb01333067b8dd713e992e57be7b99328b47a21b27864e6575981287de8e36 DIST bfs-3.2.tar.gz 252756 BLAKE2B 444d23c8df92c6c0bcbd38889cec29012c40d742a23e1755390259a325fab9d082a23ef444bf76462b21fcdeb41fa749593f5ec7d640f7270252ed4268ccc3fe SHA512 2881a37b65d8015853a658a4f759a5213ea433a726ee9952b82bd2d6c682f92e7d014eaa7ec8f1d127b3c25b5d3b04e3b24ae61ec2549212a7a4f9335f91bf8b +DIST bfs-3.3.1.tar.gz 262841 BLAKE2B bc848f4daa98172531e6c13100dcd1f3b722f4282acc5fd3677b2c4a83effa49e681d0cac3fa2c104fd1db03543c4f0a6ca9bc494ee3737d0c927f0170171eac SHA512 e31153ef244483e4337bd2bb64fc4ddf55d56048b5af54003a917287868114c81befb771b6cfc7473e384d3157b24cbec7ca27336362a438c7803eb7fc85d8d3 DIST bfs-3.3.tar.gz 262590 BLAKE2B f418a9b2f8749eb28dbe702e9303a4b4d2ec8119a712544a24d0a01cf9e4a5794d8882103bff799920ffbc7d3855656b034ec960b2b3bed64b183bb8b60cf348 SHA512 ed4396e81eaeb54a8d196e2cd0300c1a33f600e7e69d9e8fddf39916e3ade0db422fbae74f1fb1ae76ece1352a3fdf20976fbbf521c5f1ce0bb3c073133004fb diff --git a/sys-apps/bfs/bfs-3.3.1.ebuild b/sys-apps/bfs/bfs-3.3.1.ebuild new file mode 100644 index 000000000000..265ded51c383 --- /dev/null +++ b/sys-apps/bfs/bfs-3.3.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2024 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 +) + +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 +} |