diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-10-11 15:40:00 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-10-11 15:49:54 +0200 |
commit | e4312db3c5774e796eb5160813745f72a3c7b7b8 (patch) | |
tree | 0f34fc6103404df800ee281454341c7b2c0d07db /dev-ml/cryptokit/cryptokit-1.11.ebuild | |
parent | db258b5062a86633f4746f4b8d7e2d0470334501 (diff) | |
download | gentoo-e4312db3c5774e796eb5160813745f72a3c7b7b8.tar.gz gentoo-e4312db3c5774e796eb5160813745f72a3c7b7b8.tar.xz |
dev-ml/cryptokit: bump to 1.11
Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-ml/cryptokit/cryptokit-1.11.ebuild')
-rw-r--r-- | dev-ml/cryptokit/cryptokit-1.11.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-ml/cryptokit/cryptokit-1.11.ebuild b/dev-ml/cryptokit/cryptokit-1.11.ebuild new file mode 100644 index 00000000000..7f11ea39735 --- /dev/null +++ b/dev-ml/cryptokit/cryptokit-1.11.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OASIS_BUILD_DOCS=1 +OASIS_BUILD_TESTS=1 + +inherit oasis + +DESCRIPTION="Cryptographic primitives library for Objective Caml" +HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/" +SRC_URI="http://forge.ocamlcore.org/frs/download.php/1618/${P}.tar.gz" +LICENSE="LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86-fbsd" +IUSE="zlib" + +DEPEND="zlib? ( >=sys-libs/zlib-1.1 ) + dev-ml/zarith:=" +RDEPEND="${DEPEND}" + +DOCS=( "Changes" "README.txt" "AUTHORS.txt" ) + +src_configure() { + oasis_configure_opts="$(use_enable zlib)" \ + oasis_src_configure +} + +pkg_postinst() { + elog "" + elog "This library uses the /dev/random device to generate " + elog "random data and RSA keys. The device should either be" + elog "built into the kernel or provided as a module. An" + elog "alternative is to use the Entropy Gathering Daemon" + elog "(http://egd.sourceforge.net). Please note that the" + elog "remainder of the library will still work even in the" + elog "absence of a one of these sources of randomness." + elog "" +} + +src_test() { + echo "" + einfo "You must have either /dev/random or the Entropy Gathering" + einfo "Daemon (EGD) for this test to succeed!" + echo "" + + oasis_src_test +} |