summaryrefslogtreecommitdiff
path: root/repo/testdisk/testdisk.xibuild
blob: 0a470b6f2a82dae6cdfadd16a40090287e02e844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}