/[gentoo-x86]/dev-libs/libnl/libnl-3.2.11.ebuild
Gentoo

Contents of /dev-libs/libnl/libnl-3.2.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Oct 19 16:22:50 2012 UTC (7 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.11.ebuild,v 1.8 2012/09/29 13:33:20 blueness Exp $
4
5 EAPI=4
6 inherit eutils multilib
7
8 DESCRIPTION="A library for applications dealing with netlink socket"
9 HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
10 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
11 LICENSE="LGPL-2.1"
12 SLOT="3"
13 KEYWORDS="~amd64 arm hppa ppc ppc64 ~s390 ~sh ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
14 IUSE="doc static-libs utils"
15
16 DEPEND="
17 sys-devel/flex
18 sys-devel/bison
19 doc? (
20 app-text/asciidoc
21 app-doc/doxygen[latex]
22 media-gfx/mscgen
23 )
24 "
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
28 }
29
30 src_configure() {
31 econf $(use_enable static-libs static) $(use_enable utils cli)
32 }
33
34 src_compile() {
35 default
36 use doc && emake -C doc api_ref
37 }
38
39 src_install() {
40 default
41 if use doc; then
42 dohtml doc/api/*
43 fi
44
45 if ! use static-libs; then
46 rm -f "${D}"/usr/lib*/lib*.la
47 fi
48
49 dodoc ChangeLog
50 }

  ViewVC Help
Powered by ViewVC 1.1.13