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

Contents of /dev-libs/libnl/libnl-1.1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Sun Aug 12 15:18:09 2012 UTC (2 years, 1 month ago) by ago
Branch: MAIN
Changes since 1.8: +2 -2 lines
Stable for amd64, wrt bug #413583

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 jer 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.9 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r3.ebuild,v 1.8 2012/07/03 13:24:45 ranger Exp $
4 jer 1.1
5     EAPI=4
6    
7     inherit eutils multilib
8    
9     DESCRIPTION="A library for applications dealing with netlink socket"
10     HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
11     SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
12     LICENSE="LGPL-2.1"
13     SLOT="1.1"
14 ago 1.9 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 ~s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
15 jer 1.1 IUSE="doc"
16    
17     DEPEND="doc? ( app-doc/doxygen )"
18 jer 1.5 DOCS=( ChangeLog )
19 jer 1.1
20     src_prepare() {
21     epatch \
22     "${FILESDIR}"/${P}-vlan-header.patch \
23     "${FILESDIR}"/${P}-minor-leaks.patch \
24     "${FILESDIR}"/${P}-glibc-2.8-ULONG_MAX.patch \
25     "${FILESDIR}"/${P}-flags.patch \
26     "${FILESDIR}"/${P}-inline.patch
27     }
28    
29     src_compile() {
30     default
31    
32     if use doc ; then
33     cd "${S}/doc"
34     emake gendoc || die "emake gendoc failed"
35     fi
36     }
37    
38     src_install() {
39     default
40    
41     if use doc ; then
42     cd "${S}/doc"
43     dohtml -r html/*
44     fi
45     }

  ViewVC Help
Powered by ViewVC 1.1.20