aboutsummaryrefslogtreecommitdiffstats
path: root/main/testdisk
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-10-26 09:31:59 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-10-26 09:31:59 +0000
commiteb4656448c5960be15d07fd4e6da8fc0899a6367 (patch)
treee45a1c872d2e606ed88f87bc6d31d99c8672eb85 /main/testdisk
parent9209ca280e67dd06672435c23e23d3f9f7e8aaa8 (diff)
downloadaports-eb4656448c5960be15d07fd4e6da8fc0899a6367.tar.bz2
aports-eb4656448c5960be15d07fd4e6da8fc0899a6367.tar.xz
testing/testdisk: moved to main
Diffstat (limited to 'main/testdisk')
-rw-r--r--main/testdisk/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/testdisk/APKBUILD b/main/testdisk/APKBUILD
new file mode 100644
index 0000000000..a3923fcb36
--- /dev/null
+++ b/main/testdisk/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=testdisk
+pkgver=6.11
+pkgrel=0
+pkgdesc="A data recovery suite"
+url="http://www.cgsecurity.org/wiki/TestDisk"
+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="11f8fe95dcd190b69b782efa65b29ba1 testdisk-6.11.tar.bz2"