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

Contents of /net-misc/libteam/libteam-1.0.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.0.ebuild,v 1.1 2013/03/08 21:10:23 pinkbyte Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8 inherit autotools-utils linux-info
9
10 DESCRIPTION="Library and tools set for controlling team network device"
11 HOMEPAGE="https://fedorahosted.org/libteam/"
12 SRC_URI="https://github.com/jpirko/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
17 IUSE="debug examples static-libs +syslog"
18
19 DEPEND="dev-libs/jansson
20 dev-libs/libdaemon
21 >=dev-libs/libnl-3.2.19[utils]
22 sys-apps/dbus
23 "
24 RDEPEND="${DEPEND}
25 syslog? ( virtual/logger )"
26
27 CONFIG_CHECK="~NET_TEAM ~NET_TEAM_MODE_ROUNDROBIN ~NET_TEAM_MODE_ACTIVEBACKUP"
28 ERROR_NET_TEAM="NET_TEAM is not enabled in this kernel!
29 Only >=3.3.0 kernel version support in team mode"
30
31 DOCS=( HOWTO.BASICS README )
32
33 src_prepare() {
34 # avoid using -Werror in CFLAGS
35 sed -i -e '/^CFLAGS/s/-Werror//' configure.ac || die 'sed on CFLAGS failed'
36
37 autotools-utils_src_prepare
38 }
39
40 src_configure() {
41 local myeconfargs=(
42 $(use_enable debug)
43 $(use_enable syslog logging)
44 )
45 autotools-utils_src_configure
46 }
47
48 src_install() {
49 autotools-utils_src_install
50
51 insinto /etc/dbus-1/system.d
52 doins teamd/dbus/teamd.conf
53
54 if use examples; then
55 docinto examples
56 dodoc teamd/example_configs/*
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20