33 lines
1000 B
Bash
33 lines
1000 B
Bash
# Template file for 'bees'
|
|
pkgname=bees
|
|
version=0.8
|
|
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=3efb1a7290b014b8dd0cb64ce98382c2bde1f9ccf649e1b4fc86f27ffa42edea
|
|
|
|
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}"
|
|
}
|