commit 56d23425b87f1acc387b364af363cd7555b838fc parent 2c6cedcdcbe543ccc557389fdba12564655f2fe6 Author: parazyd <parazyd@dyne.org> Date: Sun, 17 Apr 2016 00:34:20 +0200 app-crypt/tomb: Add 2.2 Diffstat:
A | app-crypt/tomb/Manifest | | | 1 | + |
A | app-crypt/tomb/tomb-2.2.ebuild | | | 48 | ++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/app-crypt/tomb/Manifest b/app-crypt/tomb/Manifest @@ -0,0 +1 @@ +DIST tomb-2.2.tar.gz 4662721 SHA256 c0172ef8273c4be9322a52b6e503c8bf442ce74028605e198ed5d7e6d090ba86 SHA512 11723f1cccc75ffe64156b1f26ee7095a0147b48e05c58e98ea0fac933e9f7e5884c705a10dd4416338bab443c56902435709de85e313a053fe61883631e1290 WHIRLPOOL b3a009b17f19a352db1b7d28d8d0712ca497dfe74e8e4825285efa34b9d6a273d6b2a955f6f27b2215affd686935e9408bdbbfa98fe11806b2d32d4d83af52da diff --git a/app-crypt/tomb/tomb-2.2.ebuild b/app-crypt/tomb/tomb-2.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="The Crypto Undertaker" +HOMEPAGE="https://www.dyne.org/software/tomb" +SRC_URI="https://files.dyne.org/tomb/tomb-2.2.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="kdf gtk" + +DEPEND=" + dev-libs/libgcrypt + sys-fs/cryptsetup + app-admin/sudo + app-crypt/pinentry + app-crypt/gnupg + gtk? ( gnome-extra/zenity ) +" + +RDEPEND="${DEPEND}" + +DOCS=( doc/TODO.org ) + +src_compile() { + if use kdf; then + emake CC=$(tc-getCC) -C extras/kdf-keys/ + fi +} + +src_install() { + dobin tomb + doman doc/tomb.1 + if use kdf; then + dobin extras/kdf-keys/tomb-kdb-hexencode + dobin extras/kdf-keys/tomb-kdb-pbkdf2 + dobin extras/kdf-keys/tomb-kdb-pbkdf2-gensalt + dobin extras/kdf-keys/tomb-kdb-pbkdf2-getiter + fi + if use gtk; then + dobin extras/gtomb/gtomb + fi +}