1 |
commit: 698a8af95cb1bf1cb9b6672c4ae6548dc39f2b38 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 10:19:14 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 10:20:41 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=698a8af9 |
7 |
|
8 |
app-admin/testdisk: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-admin/testdisk/testdisk-7.0-r2.ebuild | 82 ------------------------------- |
13 |
1 file changed, 82 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/testdisk/testdisk-7.0-r2.ebuild b/app-admin/testdisk/testdisk-7.0-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 4c8b40f..0000000 |
18 |
--- a/app-admin/testdisk/testdisk-7.0-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,82 +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="ewf jpeg ntfs reiserfs static qt4" |
39 |
- |
40 |
-REQUIRED_USE="static? ( !qt4 )" |
41 |
- |
42 |
-# WARNING: reiserfs support does NOT work with reiserfsprogs |
43 |
-# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released). |
44 |
-DEPEND=" |
45 |
- static? ( |
46 |
- sys-apps/util-linux[static-libs] |
47 |
- >=sys-libs/ncurses-5.2[static-libs] |
48 |
- jpeg? ( virtual/jpeg:*[static-libs] ) |
49 |
- ntfs? ( sys-fs/ntfs3g[static-libs] ) |
50 |
- reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) |
51 |
- >=sys-fs/e2fsprogs-1.35[static-libs] |
52 |
- sys-libs/zlib[static-libs] |
53 |
- !arm? ( ewf? ( app-forensics/libewf:*[static-libs] ) ) |
54 |
- ) |
55 |
- !static? ( |
56 |
- sys-apps/util-linux |
57 |
- >=sys-libs/ncurses-5.2 |
58 |
- jpeg? ( virtual/jpeg:* ) |
59 |
- ntfs? ( sys-fs/ntfs3g ) |
60 |
- reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) |
61 |
- >=sys-fs/e2fsprogs-1.35 |
62 |
- sys-libs/zlib |
63 |
- !arm? ( ewf? ( app-forensics/libewf:* ) ) |
64 |
- qt4? ( >=dev-qt/qtgui-4.0.1:* ) |
65 |
- )" |
66 |
-RDEPEND="!static? ( ${DEPEND} )" |
67 |
- |
68 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
69 |
-DOCS=( ) |
70 |
- |
71 |
-src_configure() { |
72 |
- local myconf |
73 |
- |
74 |
- # this is static method is the same used by upstream for their 'static' make |
75 |
- # target, but better, as it doesn't break. |
76 |
- use static && append-ldflags -static |
77 |
- |
78 |
- # --with-foo are broken, any use of --with/--without disable the |
79 |
- # functionality. |
80 |
- # The following variation must be used. |
81 |
- use reiserfs || myconf+=" --without-reiserfs" |
82 |
- use ntfs || myconf+=" --without-ntfs --without-ntfs3g" |
83 |
- use jpeg || myconf+=" --without-jpeg" |
84 |
- use ewf || myconf+=" --without-ewf" |
85 |
- myconf+=$(usex qt4 " --enable-qt" " --disable-qt") |
86 |
- |
87 |
- econf \ |
88 |
- --docdir "${ROOT}/usr/share/doc/${P}" \ |
89 |
- --enable-sudo \ |
90 |
- ${myconf} |
91 |
- |
92 |
- # perform safety checks for NTFS, REISERFS and JPEG |
93 |
- if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then |
94 |
- die "Failed to find either NTFS or NTFS-3G library." |
95 |
- fi |
96 |
- if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then |
97 |
- die "Failed to find reiserfs library." |
98 |
- fi |
99 |
- if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then |
100 |
- die "Failed to find jpeg library." |
101 |
- fi |
102 |
-} |