diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-10-24 15:53:52 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-10-24 15:53:52 +0000 |
commit | db304f784831364d033360abee6f0bc7c6b18dc9 (patch) | |
tree | 8ba4be3ee24174aa2acce4ceb9a2f4585c916381 | |
parent | 21ef75ded0e3543c942074552cd0f911c9ddd0f8 (diff) | |
download | aports-db304f784831364d033360abee6f0bc7c6b18dc9.tar.bz2 aports-db304f784831364d033360abee6f0bc7c6b18dc9.tar.xz |
testing/testdisk: new aport
-rw-r--r-- | testing/testdisk/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/testdisk/APKBUILD b/testing/testdisk/APKBUILD new file mode 100644 index 000000000..a3923fcb3 --- /dev/null +++ b/testing/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" |