# Template file for 'thin-provisioning-tools'
pkgname=thin-provisioning-tools
version=0.5.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="boost-devel expat-devel libaio-devel"
short_desc="A suite of tools for manipulating the metadata of the dm-thin device-mapper target"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/jthornber/${pkgname}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=6d6856dbca2f0fcf23ece171a8e68a4a7054350a3810958da37615358695597e

pre_configure() {
	autoreconf -fi
}
do_install() {
	make DESTDIR=${DESTDIR} BINDIR=${DESTDIR}/usr/bin MANDIR=/usr/share/man install 
}
