mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-26 05:35:12 +02:00
30 lines
1,009 B
Bash
30 lines
1,009 B
Bash
# Template file for 'bcachefs-tools'
|
|
pkgname=bcachefs-tools
|
|
reverts="24_1"
|
|
version=1.9.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=1221514e85fc5a3804f9c27b68116a8b3a727645112f19f0932d52ac971da48f
|
|
|
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
|
broken="32-bit support is broken in upstream"
|
|
fi
|
|
|
|
export VERSION=v${version}
|
|
export RUST_TARGET
|
|
|
|
pre_build() {
|
|
# fuck me sideways why this is necessary, it should be default
|
|
RUSTFLAGS+=" -C linker=$CC"
|
|
}
|