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