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

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