# Template file for 'partclone'
pkgname=partclone
version=0.3.19
revision=1
build_style=gnu-configure
configure_args="--disable-rpath --enable-ncursesw --enable-f2fs
 --enable-extfs --enable-hfsp --enable-fat --enable-exfat
 --enable-ntfs --enable-btrfs --enable-minix --enable-nilfs2"
hostmakedepends="pkg-config automake autoconf libtool"
makedepends="e2fsprogs-devel libuuid-devel ncurses-devel ntfs-3g-devel
 nilfs-utils-devel openssl-devel"
short_desc="File system clone and restore utilities"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://partclone.org/"
distfiles="https://github.com/Thomas-Tsai/partclone/archive/refs/tags/${version}.tar.gz"
checksum=e15e399297b8efd74a4fd19f3caca28e5c1772b051acf7fc311f3c86296bcda4
CFLAGS="-DBTRFS_DISABLE_BACKTRACE"

pre_configure() {
	./autogen
}
