1 |
commit: a6b509ee9f2e2a6b4547e2557cf6badd24542b05 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 3 21:47:03 2015 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 21:48:36 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b509ee |
7 |
|
8 |
app-admin/testdisk: clean up version 7.0-r1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-admin/testdisk/testdisk-7.0-r1.ebuild | 78 ------------------------------- |
13 |
1 file changed, 78 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/testdisk/testdisk-7.0-r1.ebuild b/app-admin/testdisk/testdisk-7.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6b9540c..0000000 |
18 |
--- a/app-admin/testdisk/testdisk-7.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,78 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-AUTOTOOLS_AUTORECONF=1 |
28 |
- |
29 |
-inherit autotools-utils eutils flag-o-matic |
30 |
- |
31 |
-DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool" |
32 |
-HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk" |
33 |
-SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64 ~arm ~ppc ~x86" |
38 |
-IUSE="jpeg ntfs reiserfs static" |
39 |
- |
40 |
-# WARNING: reiserfs support does NOT work with reiserfsprogs |
41 |
-# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released). |
42 |
-DEPEND=" |
43 |
- static? ( |
44 |
- sys-apps/util-linux[static-libs] |
45 |
- >=sys-libs/ncurses-5.2[static-libs] |
46 |
- jpeg? ( virtual/jpeg:*[static-libs] ) |
47 |
- ntfs? ( <=sys-fs/ntfs3g-2013.1.13[static-libs] ) |
48 |
- reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) |
49 |
- >=sys-fs/e2fsprogs-1.35[static-libs] |
50 |
- sys-libs/zlib[static-libs] |
51 |
- ) |
52 |
- !static? ( |
53 |
- sys-apps/util-linux |
54 |
- >=sys-libs/ncurses-5.2 |
55 |
- jpeg? ( virtual/jpeg:* ) |
56 |
- ntfs? ( <=sys-fs/ntfs3g-2013.1.13 ) |
57 |
- reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) |
58 |
- >=sys-fs/e2fsprogs-1.35 |
59 |
- sys-libs/zlib |
60 |
- )" |
61 |
-RDEPEND="!static? ( ${DEPEND} )" |
62 |
- |
63 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
64 |
-DOCS=( ) |
65 |
-PATCHES=( "${FILESDIR}/install-gentoo.patch" ) |
66 |
- |
67 |
-src_configure() { |
68 |
- local myconf |
69 |
- |
70 |
- # this is static method is the same used by upstream for their 'static' make |
71 |
- # target, but better, as it doesn't break. |
72 |
- use static && append-ldflags -static |
73 |
- |
74 |
- # --with-foo are broken, any use of --with/--without disable the |
75 |
- # functionality. |
76 |
- # The following variation must be used. |
77 |
- use reiserfs || myconf+=" --without-reiserfs" |
78 |
- use ntfs || myconf+=" --without-ntfs --without-ntfs3g" |
79 |
- use jpeg || myconf+=" --without-jpeg" |
80 |
- |
81 |
- econf \ |
82 |
- --docdir "${ROOT}/usr/share/doc/${P}" \ |
83 |
- --disable-qt \ |
84 |
- --without-ewf \ |
85 |
- --enable-sudo \ |
86 |
- ${myconf} |
87 |
- |
88 |
- # perform safety checks for NTFS, REISERFS and JPEG |
89 |
- if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then |
90 |
- die "Failed to find either NTFS or NTFS-3G library." |
91 |
- fi |
92 |
- if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then |
93 |
- die "Failed to find reiserfs library." |
94 |
- fi |
95 |
- if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then |
96 |
- die "Failed to find jpeg library." |
97 |
- fi |
98 |
-} |