20 lines
578 B
Bash
20 lines
578 B
Bash
# Template file for 'nwipe'
|
|
pkgname=nwipe
|
|
version=0.18
|
|
revision=2
|
|
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=3074989c4fc9390d84d31d6d32e13955be005d9b4a150542d84259bf6346e3f9
|
|
|
|
CFLAGS="-D_FILE_OFFSET_BITS=64"
|
|
|
|
pre_configure() {
|
|
sed -i 's,off64_t,off_t,g' src/*.[ch]
|
|
sh init.sh
|
|
}
|