testdisk: add recipe

testdisk is a free data recovery software primarily designed to help
recover lost partitions and/or make non-booting disks bootable again
when these symptoms are caused by faulty software.

Signed-off-by: Wen Yang <wen.yang@linux.dev>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wen Yang 2025-05-05 21:44:20 +08:00 committed by Khem Raj
parent a17c3cec97
commit 8c555bf23e
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,17 @@
DESCRIPTION = "TestDisk is a free data recovery software primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table)."
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "jpeg ncurses e2fsprogs"
SRC_URI = "https://www.cgsecurity.org/${BP}.tar.bz2"
SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"
inherit autotools pkgconfig
COMPATIBLE_HOST:libc-musl = "null"
PACKAGES =+ "${PN}-photorec"
DESCRIPTION:${PN}-photorec = "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory."
FILES:${PN}-photorec = "${sbindir}/photorec"