void-packages/srcpkgs/srm/template

20 lines
529 B
Bash

# Template file for 'srm'
pkgname=srm
version=1.2.15
revision=1
build_style=gnu-configure
short_desc="A secure replacement for rm(1) that overwrites data before unlinking"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="http://srm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/srm/srm-${version}.tar.gz"
checksum=7583c1120e911e292f22b4a1d949b32c23518038afd966d527dae87c61565283
case $XBPS_TARGET_MACHINE in
*-musl) CFLAGS="-D__USE_GNU -D_GNU_SOURCE";;
esac
post_install() {
vlicense COPYING LICENSE
}