void-packages/srcpkgs/ext4magic/template

19 lines
711 B
Bash

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