27 lines
915 B
Bash
27 lines
915 B
Bash
# Template file for 'bcachefs-tools'
|
|
pkgname=bcachefs-tools
|
|
reverts="24_1"
|
|
version=1.13.0
|
|
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=cc7196505eba3a71e2ab8b9d0d19c6b16959b15aeb6e57e696dc14bd735ee0d5
|
|
|
|
export VERSION=v${version}
|
|
export RUST_TARGET
|
|
|
|
pre_build() {
|
|
# fuck me sideways why this is necessary, it should be default
|
|
RUSTFLAGS+=" -C linker=$CC"
|
|
}
|