# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/czmq/czmq-9999.ebuild,v 0.2 2013/08/12 18:09:26 ago Exp $

EAPI=5

AUTOTOOLS_AUTORECONF=true

inherit autotools-utils git-2

DESCRIPTION="High-level C Binding for ZeroMQ"
HOMEPAGE="http://czmq.zeromq.org"
EGIT_REPO_URI="git://github.com/zeromq/czmq.git"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
IUSE="doc static-libs test"

RDEPEND="=net-libs/zeromq-9999"
DEPEND="${RDEPEND}
	doc? (
		app-text/asciidoc
		app-text/xmlto
		)"

DOCS=( NEWS AUTHORS COPYING )

src_test() {
	cp "${S}"/src/selftest.cfg "${BUILD_DIR}"/src/ || die
	autotools-utils_src_test
}