void-packages/srcpkgs/nwipe/template
2016-08-06 15:33:31 +02:00

20 lines
578 B
Bash

# Template file for 'nwipe'
pkgname=nwipe
version=0.20
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/${version}.tar.gz"
checksum=915e1eecd6448043c033bed2f23d5225d4b17435956eed74e2325557633cc8d9
CFLAGS="-D_FILE_OFFSET_BITS=64"
pre_configure() {
sed -i 's,off64_t,off_t,g' src/*.[ch]
sh init.sh
}