aboutsummaryrefslogtreecommitdiffstats
path: root/main/testdisk/APKBUILD
blob: 2df99e7d6107ad4a28584ba4ef270f1fa374c37b (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
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=testdisk
pkgver=7.0
pkgrel=2
pkgdesc="A data recovery suite"
url="http://www.cgsecurity.org/wiki/TestDisk"
arch="all"
license="GPL"
depends=
makedepends="e2fsprogs-dev ntfs-3g-dev ncurses-dev zlib-dev libjpeg-turbo-dev"
install=
subpackages="$pkgname-doc"
source="http://www.cgsecurity.org/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	#update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="f0cfe4ca9dd35f2878b2704251665e9f  testdisk-7.0.tar.bz2"
sha256sums="00bb3b6b22e6aba88580eeb887037aef026968c21a87b5f906c6652cbee3442d  testdisk-7.0.tar.bz2"
sha512sums="b1ebe1d2fca453660a17623b70c06e0195cb5f07056fb7bc683d575c034fb71dfb793582c804dcff0ca57789a6de84bbf13b1a554353811660996e42199102e2  testdisk-7.0.tar.bz2"