/[gentoo-x86]/net-misc/libteam/libteam-1.14.ebuild
Gentoo

Contents of /net-misc/libteam/libteam-1.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 27 18:52:48 2015 UTC (4 years, 8 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Keyword ~ppc ~ppc64, bug #523468

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/libteam/libteam-1.14.ebuild,v 1.1 2014/11/23 05:37:07 dlan Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_IN_SOURCE_BUILD=1
8 inherit autotools-utils linux-info
9
10 DESCRIPTION="Library and tools set for controlling team network device"
11 HOMEPAGE="http://libteam.org"
12 SRC_URI="http://libteam.org/files/${P}.tar.gz"
13
14 LICENSE="LGPL-2.1+"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
17 IUSE="dbus debug examples static-libs +syslog zmq"
18
19 DEPEND=">=dev-libs/jansson-2.4
20 dev-libs/libdaemon
21 >=dev-libs/libnl-3.2.19[utils]
22 dbus? ( sys-apps/dbus )
23 zmq? ( >=net-libs/zeromq-3.2.0 )
24 "
25
26 RDEPEND="${DEPEND}
27 syslog? ( virtual/logger )"
28
29 CONFIG_CHECK="~NET_TEAM ~NET_TEAM_MODE_ROUNDROBIN ~NET_TEAM_MODE_ACTIVEBACKUP ~NET_TEAM_MODE_BROADCAST ~NET_TEAM_MODE_RANDOM ~NET_TEAM_MODE_LOADBALANCE"
30 ERROR_NET_TEAM="NET_TEAM is not enabled in this kernel!
31 Only >=3.3.0 kernel version support in team mode"
32
33 DOCS=( README )
34
35 src_configure() {
36 local myeconfargs=(
37 $(use_enable debug)
38 $(use_enable syslog logging)
39 $(use_enable dbus)
40 $(use_enable zmq)
41 )
42 autotools-utils_src_configure
43 }
44
45 src_install() {
46 autotools-utils_src_install
47
48 insinto /etc/dbus-1/system.d
49 doins teamd/dbus/teamd.conf
50
51 if use examples; then
52 docinto examples
53 dodoc teamd/example_configs/*
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20