summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-24 11:34:55 +0000
committerJustin Lecher <jlec@gentoo.org>2013-12-24 11:34:55 +0000
commit6e9391ea101c8882201ea89b6dafdb851a8814dd (patch)
tree3e6b10e2c587cc88d8bc76637f3c3f3b3bc208f4 /net-libs/czmq/czmq-2.0.3.ebuild
parentfix #495198 wrt zeromq dependencies thx to Allen Parker (diff)
downloadgentoo-2-6e9391ea101c8882201ea89b6dafdb851a8814dd.tar.gz
gentoo-2-6e9391ea101c8882201ea89b6dafdb851a8814dd.tar.bz2
gentoo-2-6e9391ea101c8882201ea89b6dafdb851a8814dd.zip
net-libs/czmq: Bump to autotools-utils.eclass
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-libs/czmq/czmq-2.0.3.ebuild')
-rw-r--r--net-libs/czmq/czmq-2.0.3.ebuild32
1 files changed, 13 insertions, 19 deletions
diff --git a/net-libs/czmq/czmq-2.0.3.ebuild b/net-libs/czmq/czmq-2.0.3.ebuild
index 2d67b7b2d2ea..75e06ed6702e 100644
--- a/net-libs/czmq/czmq-2.0.3.ebuild
+++ b/net-libs/czmq/czmq-2.0.3.ebuild
@@ -1,9 +1,12 @@
# 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-2.0.3.ebuild,v 1.1 2013/12/24 10:50:09 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/czmq/czmq-2.0.3.ebuild,v 1.2 2013/12/24 11:34:55 jlec Exp $
EAPI=5
-inherit autotools
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils
DESCRIPTION="CZMQ - High-level C Binding for ZeroMQ"
HOMEPAGE="http://czmq.zeromq.org"
@@ -15,31 +18,22 @@ KEYWORDS="~amd64 ~arm ~hppa ~x86"
IUSE="doc static-libs"
RDEPEND=""
-DEPEND="doc? (
- app-text/asciidoc
- app-text/xmlto
- )
- >=net-libs/zeromq-2.1"
+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
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
+ autotools-utils_src_prepare
}
src_install() {
- default
+ autotools-utils_src_install
doman doc/*.[1-9]
-
- # remove useless .la files
- find "${D}" -name '*.la' -delete
-
- # remove useless .a (only for non static compilation)
- use static-libs || find "${D}" -name '*.a' -delete
}