smlinux/extra/testdisk/testdisk.SMBuild

30 lines
649 B
Text
Executable file

app=testdisk
version=7.1
build=1sml
homepage="https://www.cgsecurity.org/wiki/TestDisk"
desc="Data recovery software to recover lost files and partitions"
requires="util-linux ntfs-3g"
build() {
mkandenterbuilddir
rm -rf $app-$version-WIP
tar xf $srcdir/$app-$version-WIP.tar.?z*
cd $app-$version-WIP
fixbuilddirpermissions
LIBS="-lncurses -lterminfo" \
./configure \
--prefix="" \
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
11ac3c2be8d32c8e648476cb97b15e492b73ea46cb1dc7c225db0e1766490ebed735e85f775a0dc0f2def24b272f7ac62b6c894caaf6bfc6421d003c94e71000 testdisk-7.1-WIP.tar.lz
"