void-packages/srcpkgs/nwipe/template
maxice8 c3df93cbaf nwipe: update to 0.24.
Closes: #9826 [via git-merge-pr]
2017-12-07 18:49:39 +01:00

20 lines
579 B
Bash

# Template file for 'nwipe'
pkgname=nwipe
version=0.24
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libuuid-devel libparted-devel ncurses-devel"
short_desc="Utility to securely erase disks"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/martijnvanbrummelen/nwipe"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=5cd7292518bc479f7e28d223b13ab9091cc1e6ca9beaa381651ac80d01241302
CFLAGS="-D_FILE_OFFSET_BITS=64"
pre_configure() {
sed -i 's,off64_t,off_t,g' src/*.[ch]
sh init.sh
}