Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/testdisk/
Date: Thu, 03 Dec 2015 21:48:51
Message-Id: 1449179316.e8c05d243c141c5c2f94bd4180505a692c3eb878.chutzpah@gentoo
1 commit: e8c05d243c141c5c2f94bd4180505a692c3eb878
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 21:46:24 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=e8c05d24
7
8 app-admin/testdisk: clean up version 7.0
9
10 Package-Manager: portage-2.2.26
11 RepoMan-Options: --force
12
13 app-admin/testdisk/testdisk-7.0.ebuild | 77 ----------------------------------
14 1 file changed, 77 deletions(-)
15
16 diff --git a/app-admin/testdisk/testdisk-7.0.ebuild b/app-admin/testdisk/testdisk-7.0.ebuild
17 deleted file mode 100644
18 index c2c69f9..0000000
19 --- a/app-admin/testdisk/testdisk-7.0.ebuild
20 +++ /dev/null
21 @@ -1,77 +0,0 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -AUTOTOOLS_AUTORECONF=1
29 -
30 -inherit autotools-utils eutils flag-o-matic
31 -
32 -DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
33 -HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
34 -SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="amd64 ~arm ~ppc x86"
39 -IUSE="jpeg ntfs reiserfs static"
40 -
41 -# WARNING: reiserfs support does NOT work with reiserfsprogs
42 -# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
43 -DEPEND="
44 - static? (
45 - sys-apps/util-linux[static-libs]
46 - >=sys-libs/ncurses-5.2[static-libs]
47 - jpeg? ( virtual/jpeg:*[static-libs] )
48 - ntfs? ( <=sys-fs/ntfs3g-2013.1.13[static-libs] )
49 - reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] )
50 - >=sys-fs/e2fsprogs-1.35[static-libs]
51 - sys-libs/zlib[static-libs]
52 - )
53 - !static? (
54 - sys-apps/util-linux
55 - >=sys-libs/ncurses-5.2
56 - jpeg? ( virtual/jpeg:* )
57 - ntfs? ( <=sys-fs/ntfs3g-2013.1.13 )
58 - reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
59 - >=sys-fs/e2fsprogs-1.35
60 - sys-libs/zlib
61 - )"
62 -RDEPEND="!static? ( ${DEPEND} )"
63 -
64 -AUTOTOOLS_IN_SOURCE_BUILD=1
65 -DOCS=( )
66 -PATCHES=( "${FILESDIR}/install-gentoo.patch" )
67 -
68 -src_configure() {
69 - local myconf
70 -
71 - # this is static method is the same used by upstream for their 'static' make
72 - # target, but better, as it doesn't break.
73 - use static && append-ldflags -static
74 -
75 - # --with-foo are broken, any use of --with/--without disable the
76 - # functionality.
77 - # The following variation must be used.
78 - use reiserfs || myconf+=" --without-reiserfs"
79 - use ntfs || myconf+=" --without-ntfs --without-ntfs3g"
80 - use jpeg || myconf+=" --without-jpeg"
81 -
82 - econf \
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 -}