app-crypt/tc-play: cleanup

Package-Manager: portage-2.2.28
This commit is contained in:
Alon Bar-Lev
2016-06-12 05:42:02 +03:00
parent 381aec5d1d
commit d2423ffe45
2 changed files with 0 additions and 57 deletions

View File

@@ -5,11 +5,6 @@
<email>crypto@gentoo.org</email>
<name>Crypto</name>
</maintainer>
<use>
<flag name="openssl">
Use openssl crypto backend.
</flag>
</use>
<upstream>
<remote-id type="github">bwalex/tc-play</remote-id>
</upstream>

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit toolchain-funcs multilib
DESCRIPTION="a free, pretty much fully featured and stable TrueCrypt implementation"
HOMEPAGE="https://github.com/bwalex/tc-play"
SRC_URI="https://github.com/bwalex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="openssl"
DEPEND="
dev-libs/libgpg-error
sys-fs/lvm2
sys-apps/util-linux
dev-libs/libgcrypt:0
openssl? ( dev-libs/openssl:0 )"
RDEPEND="${DEPEND}"
pkg_setup() {
local backend="gcrypt"
use openssl && backend="openssl"
EXTRA_MAKE_FLAGS=(
PBKDF_BACKEND="${backend}"
WARNFLAGS=""
CC=$(tc-getCC)
AR=$(tc-getAR)
PREFIX=/usr \
LIBDIR=/usr/$(get_libdir)
)
}
src_compile() {
emake -f Makefile.classic \
tcplay \
"${EXTRA_MAKE_FLAGS[@]}"
}
src_install() {
emake -f Makefile.classic \
"${EXTRA_MAKE_FLAGS[@]}" \
install_program \
DESTDIR="${ED}"
dodoc README.md
}