net-libs/zeromq: fix 4.1.5
authorMike Gilbert <floppym@gentoo.org>
Tue, 23 Aug 2016 03:00:24 +0000 (23:00 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 23 Aug 2016 03:00:24 +0000 (23:00 -0400)
The previous revision only installed manpages.
Bump EAPI and drop autotools-utils while we are at it.
Also depend on asciidoc and xmlto.

Package-Manager: portage-2.3.0_p16

net-libs/zeromq/zeromq-4.1.5-r1.ebuild [moved from net-libs/zeromq/zeromq-4.1.5.ebuild with 79% similarity]

similarity index 79%
rename from net-libs/zeromq/zeromq-4.1.5.ebuild
rename to net-libs/zeromq/zeromq-4.1.5-r1.ebuild
index f48bffb4ce67a3300f4df45f890cd756365b8f91..6dc347309e2092858651878de12139adc0990826 100644 (file)
@@ -2,11 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils
+inherit autotools eutils
 
 DESCRIPTION="A brokerless kernel"
 HOMEPAGE="http://www.zeromq.org/"
@@ -21,6 +19,8 @@ RDEPEND="
        dev-libs/libsodium:=
        pgm? ( =net-libs/openpgm-5.2.122 )"
 DEPEND="${RDEPEND}
+       app-text/asciidoc
+       app-text/xmlto
        sys-apps/util-linux
        pgm? ( virtual/pkgconfig )"
 
@@ -28,22 +28,22 @@ src_prepare() {
        sed \
                -e '/libzmq_werror=/s:yes:no:g' \
                -i configure.ac || die
-       autotools-utils_src_prepare
+       default
+       eautoreconf
 }
 
 src_configure() {
        local myeconfargs=(
+               --enable-shared
+               $(use_enable static-libs static)
                --with-relaxed
                --with-libsodium
                $(use_with pgm)
        )
-       autotools-utils_src_configure
-}
-
-src_test() {
-       autotools-utils_src_test -j1
+       econf "${myeconfargs[@]}"
 }
 
 src_install() {
-       doman "${BUILD_DIR}"/doc/*.[1-9]
+       default
+       prune_libtool_files
 }