# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libsodium/libsodium-0.4.2.ebuild,v 0.4.2 2013/08/09 11:47:52 xmw Exp $ EAPI=5 DESCRIPTION="An encryption and authentication library for ZeroMQ" HOMEPAGE="https://github.com/zeromq/curvezmq" if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="git://github.com/zeromq/curvezmq.git" inherit git-2 autotools else # for when a release will exist SRC_URI="" die "No release available for now, use live version 9999" fi LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" DOCS=( NEWS README COPYING AUTHORS ) if [[ ${PV} == *9999* ]]; then RDEPEND="=net-libs/zeromq-9999 =net-libs/czmq-9999 =net-libs/libsodium-9999" else RDEPEND=">=net-libs/zeromq-3 >=net-libs/czmq-1.3 net-libs/libsodium" fi DEPEND="${RDEPEND}" src_prepare() { if [[ ${PV} == *9999* ]]; then eautoreconf fi } src_configure() { econf \ $(use_enable test) }