summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-04-03 15:11:10 +0000
committerJeroen Roovers <jer@gentoo.org>2012-04-03 15:11:10 +0000
commit5126d254b0a0b9b1da8de3bb6cf31dcf01f3e80d (patch)
tree2e0b2d83d94c3e376453609d2481e129bc2be15d /dev-libs/libnl/libnl-1.1-r3.ebuild
parentsci-chemistry/ccpn: Version Bump (diff)
downloadgentoo-2-5126d254b0a0b9b1da8de3bb6cf31dcf01f3e80d.tar.gz
gentoo-2-5126d254b0a0b9b1da8de3bb6cf31dcf01f3e80d.tar.bz2
gentoo-2-5126d254b0a0b9b1da8de3bb6cf31dcf01f3e80d.zip
Do not inline nl_object_priv by Jiri Denemark (bug #366561).
(Portage version: 2.2.0_alpha98/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libnl/libnl-1.1-r3.ebuild')
-rw-r--r--dev-libs/libnl/libnl-1.1-r3.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libnl/libnl-1.1-r3.ebuild b/dev-libs/libnl/libnl-1.1-r3.ebuild
new file mode 100644
index 000000000000..a7752f568f2a
--- /dev/null
+++ b/dev-libs/libnl/libnl-1.1-r3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r3.ebuild,v 1.1 2012/04/03 15:11:10 jer Exp $
+
+EAPI=4
+
+inherit eutils multilib
+
+DESCRIPTION="A library for applications dealing with netlink socket"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
+SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="1.1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+PATCHES=( ChangeLog )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-vlan-header.patch \
+ "${FILESDIR}"/${P}-minor-leaks.patch \
+ "${FILESDIR}"/${P}-glibc-2.8-ULONG_MAX.patch \
+ "${FILESDIR}"/${P}-flags.patch \
+ "${FILESDIR}"/${P}-inline.patch
+}
+
+src_compile() {
+ default
+
+ if use doc ; then
+ cd "${S}/doc"
+ emake gendoc || die "emake gendoc failed"
+ fi
+}
+
+src_install() {
+ default
+
+ if use doc ; then
+ cd "${S}/doc"
+ dohtml -r html/*
+ fi
+}