summaryrefslogtreecommitdiff
path: root/repo/testdisk/testdisk.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/testdisk/testdisk.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/testdisk/testdisk.xibuild')
-rw-r--r--repo/testdisk/testdisk.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/testdisk/testdisk.xibuild b/repo/testdisk/testdisk.xibuild
new file mode 100644
index 0000000..0a470b6
--- /dev/null
+++ b/repo/testdisk/testdisk.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="testdisk"
+DESC="A data recovery suite"
+
+MAKEDEPS=" e2fsprogs ntfs-3g ncurses zlib libjpeg-turbo"
+
+PKG_VER=7.1
+SOURCE="https://www.cgsecurity.org/testdisk-$PKG_VER.tar.bz2"
+
+build() {
+ cd "$BUILD_ROOT"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$BUILD_ROOT"
+ make check
+}
+
+package() {
+ cd "$BUILD_ROOT"
+ make DESTDIR="$PKG_DEST" install
+}
+