dcfldd: fix license, use vsed

This commit is contained in:
Colin Booth 2021-03-28 12:18:46 -07:00 committed by Érico Nogueira
parent e1b0b98643
commit f0bdeef044

View file

@ -1,16 +1,16 @@
# Template file for 'dcfldd'
pkgname=dcfldd
version=1.3.4r1
revision=2
revision=3
wrksrc="${pkgname}-${version/r/-}"
build_style=gnu-configure
short_desc="Fork of dd with hashing, status, wipe and verify"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://dcfldd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version/r/-}.tar.gz"
checksum=f5143a184da56fd5ac729d6d8cbcf9f5da8e1cf4604aa9fb97c59553b7e6d5f8
post_extract() {
sed -i 's/__linux__/__GLIBC__/' util.c # disable obscure workaround
vsed -i 's/__linux__/__GLIBC__/' util.c # disable obscure workaround
}