diff options
author | Amy Liffey <amynka@gentoo.org> | 2017-07-12 16:51:09 +0200 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2017-07-12 16:57:37 +0200 |
commit | 539d398299722092607ed7ca23586dcb0d35c7c8 (patch) | |
tree | 6408c5b7ef6c080ee21fdf35160aa614ec5bf34f /app-crypt/codecrypt/codecrypt-1.7.6.ebuild | |
parent | dev-tcltk/tclpython: Support newer python (diff) | |
download | gentoo-539d398299722092607ed7ca23586dcb0d35c7c8.tar.gz gentoo-539d398299722092607ed7ca23586dcb0d35c7c8.tar.bz2 gentoo-539d398299722092607ed7ca23586dcb0d35c7c8.zip |
app-crypt/codecrypt: version bump 1.7.6, clean up
- Clean up old versions 1.4*,1.6*
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-crypt/codecrypt/codecrypt-1.7.6.ebuild')
-rw-r--r-- | app-crypt/codecrypt/codecrypt-1.7.6.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-crypt/codecrypt/codecrypt-1.7.6.ebuild b/app-crypt/codecrypt/codecrypt-1.7.6.ebuild new file mode 100644 index 000000000000..9a1a3f9e686d --- /dev/null +++ b/app-crypt/codecrypt/codecrypt-1.7.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Post-quantum cryptography tool" +HOMEPAGE="http://e-x-a.org/codecrypt/" +SRC_URI="http://e-x-a.org/codecrypt/files/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+cryptopp" + +DEPEND="dev-libs/gmp:= + cryptopp? ( dev-libs/crypto++ ) + sci-libs/fftw:3.0" +RDEPEND="${DEPEND}" + +src_prepare() { + eapply_user + # workaround -- gentoo is missing crypto++ pkg-config file + sed -i -e 's/PKG_CHECK_MODULES(\[CRYPTOPP\],.*/LDFLAGS="$LDFLAGS -lcrypto++"/' configure.ac + ./autogen.sh +} + +src_configure() { + econf \ + $(use_with cryptopp ) +} |