mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
33 lines
1,006 B
Bash
33 lines
1,006 B
Bash
# Template file for 'bcachefs-tools'
|
|
pkgname=bcachefs-tools
|
|
reverts="24_1"
|
|
version=1.25.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_install_args="ROOT_SBINDIR=/usr/bin"
|
|
make_use_env=yes
|
|
hostmakedepends="pkg-config cargo clang17-devel llvm liburcu-devel"
|
|
makedepends="rust attr-devel keyutils-devel libaio-devel libblkid-devel
|
|
liblz4-devel libscrypt-devel libsodium-devel eudev-libudev-devel liburcu-devel
|
|
libuuid-devel libzstd-devel zlib-devel"
|
|
short_desc="Userspace tools for bcachefs"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://bcachefs.org/"
|
|
distfiles="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=6717d33f588f55c41046f012b6ab4e2ffc1370aebd0316a512b44cc155bb3c41
|
|
|
|
export VERSION=v${version}
|
|
export RUST_TARGET
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
broken="bch_bindgen: E0588"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
broken="does not link libatomic"
|
|
fi
|
|
|
|
pre_build() {
|
|
RUSTFLAGS+=" -C linker=$CC"
|
|
}
|