void-packages/srcpkgs/nwipe/template

26 lines
702 B
Bash

# Template file for 'nwipe'
pkgname=nwipe
version=0.26
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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/martijnvanbrummelen/nwipe"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=b8f37b4f1529931bdd5635d33baa35b7c08755e7ef5f0556b629c0360c85c920
# nwipe.c:29:10: fatal error: bits/pthreadtypes.h: No such file or directory
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="nwipe broken on musl"
esac
CFLAGS="-D_FILE_OFFSET_BITS=64"
pre_configure() {
sh init.sh
}