diff options
author | Daniel Black <dragonheart@gentoo.org> | 2006-06-28 09:19:26 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2006-06-28 09:19:26 +0000 |
commit | 241a3b33669b349de31eb955c5cd10c70db7a737 (patch) | |
tree | 61221bd769d80b96bbff88d370128b21c9c8f7d5 /app-admin/testdisk | |
parent | Marked stable on x86. (diff) | |
download | gentoo-2-241a3b33669b349de31eb955c5cd10c70db7a737.tar.gz gentoo-2-241a3b33669b349de31eb955c5cd10c70db7a737.tar.bz2 gentoo-2-241a3b33669b349de31eb955c5cd10c70db7a737.zip |
version bump thanks to Christophe Grenier bug #137515. Cleaned old version and fixed HOMEPAGE too
(Portage version: 2.1)
Diffstat (limited to 'app-admin/testdisk')
-rw-r--r-- | app-admin/testdisk/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/testdisk/files/digest-testdisk-6.4 | 3 | ||||
-rw-r--r-- | app-admin/testdisk/testdisk-6.3.ebuild | 4 | ||||
-rw-r--r-- | app-admin/testdisk/testdisk-6.4.ebuild | 55 |
4 files changed, 68 insertions, 3 deletions
diff --git a/app-admin/testdisk/ChangeLog b/app-admin/testdisk/ChangeLog index b7ab0f45ae30..f930121f892c 100644 --- a/app-admin/testdisk/ChangeLog +++ b/app-admin/testdisk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/testdisk # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.18 2006/05/25 05:50:06 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.19 2006/06/28 09:19:26 dragonheart Exp $ + +*testdisk-6.4 (28 Jun 2006) + + 28 Jun 2006; Daniel Black <dragonheart@gentoo.org> testdisk-6.3.ebuild, + +testdisk-6.4.ebuild: + version bump thanks to Christophe Grenier bug #137515. Cleaned old version + and fixed HOMEPAGE too *testdisk-6.3 (25 May 2006) diff --git a/app-admin/testdisk/files/digest-testdisk-6.4 b/app-admin/testdisk/files/digest-testdisk-6.4 new file mode 100644 index 000000000000..1841d5973252 --- /dev/null +++ b/app-admin/testdisk/files/digest-testdisk-6.4 @@ -0,0 +1,3 @@ +MD5 188c2216c76f2fe4db8eae1ea033188a testdisk-6.4.tar.bz2 569310 +RMD160 c55983f026294154a5725599897cb8337b79d881 testdisk-6.4.tar.bz2 569310 +SHA256 c587b1129b95143fa83dab3780f0f9182f931a0bb67e9347f9cb976a8b4fc05d testdisk-6.4.tar.bz2 569310 diff --git a/app-admin/testdisk/testdisk-6.3.ebuild b/app-admin/testdisk/testdisk-6.3.ebuild index 92d77ad942ed..e774b8c59b4c 100644 --- a/app-admin/testdisk/testdisk-6.3.ebuild +++ b/app-admin/testdisk/testdisk-6.3.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.3.ebuild,v 1.1 2006/05/25 05:50:06 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.3.ebuild,v 1.2 2006/06/28 09:19:26 dragonheart Exp $ DESCRIPTION="Multi-platform tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory." -HOMEPAGE="http://www.cgsecurity.org/index.html?testdisk.html" +HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk" SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" diff --git a/app-admin/testdisk/testdisk-6.4.ebuild b/app-admin/testdisk/testdisk-6.4.ebuild new file mode 100644 index 000000000000..486b736c6f94 --- /dev/null +++ b/app-admin/testdisk/testdisk-6.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.4.ebuild,v 1.1 2006/06/28 09:19:26 dragonheart Exp $ + + +DESCRIPTION="Multi-platform tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory." +HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk" +SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static reiserfs ntfs jpeg" +# WARNING: reiserfs support does NOT work with reiserfsprogs +# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released). +DEPEND=">=sys-libs/ncurses-5.2 + jpeg? ( media-libs/jpeg ) + ntfs? ( >=sys-fs/ntfsprogs-1.9.4 ) + reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) + >=sys-fs/e2fsprogs-1.35" +RDEPEND="!static? ( ${DEPEND} )" + +src_compile() { + local myconf + # --with-foo are broken, any use of --with/--without disable the + # functionality. + # The following variation must be used. + use reiserfs || myconf="${myconf} --without-reiserfs" + use ntfs || myconf="${myconf} --without-ntfs" + use jpeg || myconf="${myconf} --without-jpeg" + + econf ${myconf} || die + + # perform safety checks for NTFS and REISERFS + if useq ntfs && egrep -q 'undef HAVE_LIBNTFS\>' ${S}/config.h ; then + die "Failed to find NTFS library." + fi + if useq reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' ${S}/config.h ; then + die "Failed to find reiserfs library." + fi + if useq jpeg && egrep -q 'undef HAVE_LIBJPEG\>' ${S}/config.h ; then + die "Failed to find jpeg library." + fi + + # this is static method is the same used by upstream for their 'static' make + # target, but better, as it doesn't break. + use static && append-ldflags -static + + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + [ "$PF" != "$P" ] && mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF} +} + |