# Template file for 'ddrescue'
pkgname=ddrescue
version=1.28
revision=1
build_style=gnu-configure
hostmakedepends="lzip"
short_desc="Data recovery tool"
maintainer="Piraty <mail@piraty.dev>"
license="GPL-2.0-or-later, BSD-2-Clause"
homepage="http://www.gnu.org/software/ddrescue/ddrescue.html"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=6626c07a7ca1cc1d03cad0958522c5279b156222d32c342e81117cfefaeb10c1

do_configure() {
	./configure --prefix=/usr CXX="$CXX" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
}

post_install() {
	vlicense COPYING
}
