# Template file for 'clsync'
pkgname=clsync
version=0.4.5
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="glib-devel"
short_desc="File live sync daemon based on inotify/kqueue/bsm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://ut.mephi.ru/oss/clsync"
distfiles="https://github.com/clsync/clsync/archive/v${version}.tar.gz"
checksum=dcf6e45914edac00c660942594f0c8958c6c7b9819c11277b7d9eb596f52cb81

if [ "$XBPS_TARGET_LIBC" = musl ]; then
	makedepends+=" musl-fts-devel"
	LDFLAGS="-lfts"
fi

pre_configure() {
	autoreconf -i
}
