summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2014-06-07 17:07:32 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2014-06-07 17:07:32 +0000
commitc370668d5a0d628bf8f38d0d8124f9a034df1dfd (patch)
tree56edc452bb7d3cf4a8134b466dd3af9ab9e93fe5
parentAdd upstream patches to prevent gnome-shell from crashing when certain .deskt... (diff)
downloadgentoo-2-c370668d5a0d628bf8f38d0d8124f9a034df1dfd.tar.gz
gentoo-2-c370668d5a0d628bf8f38d0d8124f9a034df1dfd.tar.bz2
gentoo-2-c370668d5a0d628bf8f38d0d8124f9a034df1dfd.zip
Version bump, bug#511768
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
-rw-r--r--app-crypt/tc-play/ChangeLog7
-rw-r--r--app-crypt/tc-play/tc-play-2.0.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/app-crypt/tc-play/ChangeLog b/app-crypt/tc-play/ChangeLog
index 536acf1df25c..6fa473a914a8 100644
--- a/app-crypt/tc-play/ChangeLog
+++ b/app-crypt/tc-play/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/tc-play
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/tc-play/ChangeLog,v 1.2 2014/03/01 22:35:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tc-play/ChangeLog,v 1.3 2014/06/07 17:07:32 alonbl Exp $
+
+*tc-play-2.0 (07 Jun 2014)
+
+ 07 Jun 2014; Alon Bar-Lev <alonbl@gentoo.org> +tc-play-2.0.ebuild:
+ Version bump, bug#511768
01 Mar 2014; Michał Górny <mgorny@gentoo.org> tc-play-1.1.ebuild:
Update libgcrypt dep to use slot :0.
diff --git a/app-crypt/tc-play/tc-play-2.0.ebuild b/app-crypt/tc-play/tc-play-2.0.ebuild
new file mode 100644
index 000000000000..658420aead77
--- /dev/null
+++ b/app-crypt/tc-play/tc-play-2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tc-play/tc-play-2.0.ebuild,v 1.1 2014/06/07 17:07:32 alonbl Exp $
+
+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 )"
+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
+}