33 lines
1002 B
Bash
33 lines
1002 B
Bash
# Template file for 'bees'
|
|
pkgname=bees
|
|
version=0.7.2
|
|
revision=1
|
|
archs="~*-musl"
|
|
build_style=gnu-makefile
|
|
make_check_target="test"
|
|
hostmakedepends="pkg-config"
|
|
depends="btrfs-progs"
|
|
short_desc="Best-Effort Extent-Same, a btrfs deduplication agent"
|
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/Zygo/bees"
|
|
distfiles="https://github.com/Zygo/bees/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=371d03a0008e2ba284e315f645148272a968f7bdbc1d0aeb6c4aeff3a82801a0
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Tests don't work properly with cross compilation, because it doesn't
|
|
# differentiate between host and target compilers correctly.
|
|
#
|
|
# There is a patch included which starts working on this, but I couldn't get it
|
|
# to work properly, so it's not being applied right now.
|
|
make_check="no"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
broken="undefined reference to __atomic_fetch_add_8"
|
|
fi
|
|
|
|
pre_build() {
|
|
export BEES_VERSION="${version}"
|
|
}
|