tapp-crypt/tomb: Replace USE flags with "tools" for extra things. - parlay - yet another gentoo overlay (HTM) git clone https://git.parazyd.org/parlay (DIR) Log (DIR) Files (DIR) Refs (DIR) README --- (DIR) commit 0dfa3396c15b5cb79381db396bd7659a038740ec (DIR) parent 0869034a6b3fc5c89fc3d59bc46e1c6347bb0f32 (HTM) Author: parazyd <parazyd@dyne.org> Date: Sat, 13 May 2017 10:57:10 +0200 app-crypt/tomb: Replace USE flags with "tools" for extra things. Diffstat: A app-crypt/tomb/tomb-2.4-r1.ebuild | 52 +++++++++++++++++++++++++++++++ D app-crypt/tomb/tomb-2.4.ebuild | 55 ------------------------------- 2 files changed, 52 insertions(+), 55 deletions(-) --- (DIR) diff --git a/app-crypt/tomb/tomb-2.4-r1.ebuild b/app-crypt/tomb/tomb-2.4-r1.ebuild t@@ -0,0 +1,52 @@ +# 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/${PN}/Tomb-${PV}.tar.gz" + +S="${WORKDIR}/Tomb-${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" +IUSE="tools" + +DEPEND=" + app-shells/zsh + sys-fs/cryptsetup + app-admin/sudo + app-crypt/pinentry + app-crypt/gnupg + tools? ( + app-crypt/steghide + dev-libs/libgcrypt:0 + ) +" + +RDEPEND="${DEPEND}" + +DOCS=( doc/TODO.org README.txt KNOWN_BUGS.txt ChangeLog.txt AUTHORS.txt INSTALL.txt COPYING.txt ) + +src_compile() { + if use tools; then + emake CC=$(tc-getCC) -C extras/kdf-keys/ + fi +} + +src_install() { + dobin tomb + doman doc/tomb.1 + dodoc "${DOCS[@]}" + + if use tools; 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 +} (DIR) diff --git a/app-crypt/tomb/tomb-2.4.ebuild b/app-crypt/tomb/tomb-2.4.ebuild t@@ -1,55 +0,0 @@ -# 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/${PN}/Tomb-${PV}.tar.gz" - -S="${WORKDIR}/Tomb-${PV}" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="kdf gtk3 steghide" - -DEPEND=" - app-shells/zsh - kdf? ( dev-libs/libgcrypt:0 ) - sys-fs/cryptsetup - app-admin/sudo - app-crypt/pinentry - app-crypt/gnupg - gtk3? ( gnome-extra/zenity ) - steghide? ( app-crypt/steghide ) -" - -RDEPEND="${DEPEND}" - -DOCS=( doc/TODO.org README.txt KNOWN_BUGS.txt ChangeLog.txt AUTHORS.txt INSTALL.txt COPYING.txt ) - -src_compile() { - if use kdf; then - emake CC=$(tc-getCC) -C extras/kdf-keys/ - fi -} - -src_install() { - dobin tomb - doman doc/tomb.1 - dodoc "${DOCS[@]}" - - 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 gtk3; then - dobin extras/gtomb/gtomb - fi -}