# Template file for 'partclone'
pkgname=partclone
version=0.3.11
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"
short_desc="File system clone and restore utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.partclone.org/"
distfiles="https://github.com/Thomas-Tsai/${pkgname}/archive/${version}.tar.gz"
checksum=6cf3e25bd8fa62920d7bc33f6c0f9050d831fbcaac2e6aa7212361f682310a08
CFLAGS="-DBTRFS_DISABLE_BACKTRACE"

pre_configure() {
	./autogen
}
