# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/czmq/czmq-2.0.3.ebuild,v 1.4 2014/04/27 15:56:46 jlec Exp $ EAPI=5 AUTOTOOLS_AUTORECONF=true inherit autotools-utils DESCRIPTION=" High-level C Binding for ZeroMQ" HOMEPAGE="http://czmq.zeromq.org" SRC_URI="http://download.zeromq.org/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~x86" IUSE="doc static-libs" RDEPEND="" DEPEND=" >=net-libs/zeromq-2.1 doc? ( app-text/asciidoc app-text/xmlto )" DOCS=( NEWS README AUTHORS ChangeLog ) src_prepare() { sed -i -e 's|-Werror||g' configure.ac || die cp "${FILESDIR}"/version.sh "${S}" || die chmod 775 "${S}"/version.sh || die autotools-utils_src_prepare } src_install() { autotools-utils_src_install doman doc/*.[1-9] }