# Template file for 'nwipe'
pkgname=nwipe
version=0.41
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libuuid-devel libparted-devel ncurses-devel libconfig-devel"
depends="smartmontools hdparm which dmidecode"
short_desc="Utility to securely erase disks"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/martijnvanbrummelen/nwipe"
changelog="https://raw.githubusercontent.com/martijnvanbrummelen/nwipe/refs/heads/master/CHANGELOG.md"
distfiles="https://github.com/martijnvanbrummelen/nwipe/archive/refs/tags/v${version}.tar.gz"
checksum=be626c43fff34ae57caea5adfa3c5f232528c0276be652ecd93295483999decc

CFLAGS="-D_FILE_OFFSET_BITS=64"

pre_configure() {
	autoreconf -fi
}
