void-packages/srcpkgs/ext4magic/template
2018-11-24 22:51:57 -02:00

19 lines
707 B
Bash

# Template file for 'ext4magic'
pkgname=ext4magic
version=0.3.2
revision=3
build_style=gnu-configure
configure_args="--enable-expert-mode --enable-file-attr"
makedepends="e2fsprogs-devel file-devel zlib-devel bzip2-devel"
short_desc="Recover deleted or overwritten files on ext3 and ext4 filesystems"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://sourceforge.net/projects/ext4magic/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8d9c6a594f212aecf4eb5410d277caeaea3adc03d35378257dfd017ef20ea115
patch_args="-Np1"
CFLAGS='-DHAVE_SYS_TYPES_H'
post_extract() {
sed -i '/<ext2fs\/ext2fs.h>/i#include <time.h>' src/lookup_local.c
}