Lines 1-4
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-4.0.4-r1.ebuild,v 1.2 2014/08/26 10:06:22 kumba Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-4.0.4-r1.ebuild,v 1.2 2014/08/26 10:06:22 kumba Exp $ |
4 |
|
4 |
|
Lines 6-41
EAPI=5
Link Here
|
6 |
|
6 |
|
7 |
AUTOTOOLS_AUTORECONF=true |
7 |
AUTOTOOLS_AUTORECONF=true |
8 |
|
8 |
|
9 |
inherit autotools-utils |
9 |
inherit eutils autotools-utils |
10 |
|
10 |
|
11 |
DESCRIPTION="A brokerless kernel" |
11 |
DESCRIPTION="A brokerless kernel" |
12 |
HOMEPAGE="http://www.zeromq.org/" |
12 |
HOMEPAGE="http://www.zeromq.org/" |
13 |
SRC_URI="http://download.zeromq.org/${P}.tar.gz" |
13 |
SRC_URI="http://download.zeromq.org/${P}.tar.gz" |
14 |
|
14 |
|
15 |
LICENSE="LGPL-3" |
15 |
LICENSE="LGPL-3" |
16 |
SLOT="0" |
16 |
SLOT="0/4.0.0" |
17 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~amd64-linux ~x86-linux" |
17 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~amd64-linux ~x86-linux" |
18 |
IUSE="pgm static-libs test" |
18 |
IUSE="doc pgm static-libs test" |
19 |
|
19 |
|
20 |
RDEPEND=" |
20 |
RDEPEND=" |
21 |
dev-libs/libsodium |
21 |
dev-libs/libsodium:= |
22 |
pgm? ( =net-libs/openpgm-5.2.122 )" |
22 |
pgm? ( =net-libs/openpgm-5.2.122 )" |
23 |
DEPEND="${RDEPEND} |
23 |
DEPEND="${RDEPEND} |
|
|
24 |
doc? ( |
25 |
app-text/asciidoc |
26 |
app-text/xmlto |
27 |
) |
24 |
sys-apps/util-linux |
28 |
sys-apps/util-linux |
25 |
pgm? ( virtual/pkgconfig )" |
29 |
pgm? ( virtual/pkgconfig )" |
26 |
|
30 |
|
27 |
src_prepare() { |
31 |
src_prepare() { |
|
|
32 |
epatch "${FILESDIR}"/${PN}-4.0.5-issue1273-backport.patch |
33 |
|
28 |
einfo "Removing bundled OpenPGM library" |
34 |
einfo "Removing bundled OpenPGM library" |
29 |
rm -fr "${S}"/foreign/openpgm/libpgm* || die |
35 |
rm -fr "${S}"/foreign/openpgm/libpgm* || die |
30 |
sed \ |
36 |
sed \ |
31 |
-e '/libzmq_werror=/s:yes:no:g' \ |
37 |
-e '/libzmq_werror=/s:yes:no:g' \ |
32 |
-i configure.ac || die |
38 |
-i configure.ac || die |
|
|
39 |
|
40 |
epatch_user |
41 |
|
33 |
autotools-utils_src_prepare |
42 |
autotools-utils_src_prepare |
34 |
} |
43 |
} |
35 |
|
44 |
|
36 |
src_configure() { |
45 |
src_configure() { |
37 |
local myeconfargs=() |
46 |
local myeconfargs=() |
38 |
use pgm && myeconfargs+=( --with-system-pgm ) || myeconfargs+=( --without-pgm ) |
47 |
use pgm && myeconfargs+=( --with-system-pgm ) || myeconfargs+=( --without-pgm ) |
|
|
48 |
use doc && myeconfargs+=( --with-documentation ) || myeconfargs+=( --without-documentation ) |
39 |
autotools-utils_src_configure |
49 |
autotools-utils_src_configure |
40 |
} |
50 |
} |
41 |
|
51 |
|
Lines 47-50
src_install() {
Link Here
|
47 |
autotools-utils_src_install |
57 |
autotools-utils_src_install |
48 |
|
58 |
|
49 |
doman doc/*.[1-9] |
59 |
doman doc/*.[1-9] |
|
|
60 |
use doc && dodoc doc/*.html |
50 |
} |
61 |
} |