aboutsummaryrefslogblamecommitdiffstats
path: root/main/testdisk/APKBUILD
blob: 67e0fa7f6bf76c2af5483fbe1a7b45fc3c0c0c5a (plain) (tree)
1
2
3
4
5
6
7
                                                     
                

           

                                             
          



























                                                           
                                                                 
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=testdisk
pkgver=6.12
pkgrel=0
pkgdesc="A data recovery suite"
url="http://www.cgsecurity.org/wiki/TestDisk"
arch="all"
license="GPL"
depends=
makedepends="e2fsprogs-dev ncurses-dev zlib-dev"
install=
subpackages="$pkgname-doc"
source="http://www.cgsecurity.org/$pkgname-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
	# apply patches here
}

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

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

md5sums="6ef653301f309156f3a802233a3139c1  testdisk-6.12.tar.bz2"