summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-08-11 00:53:27 +0000
committerJeroen Roovers <jer@gentoo.org>2010-08-11 00:53:27 +0000
commit9dd66d600bcddb14ac0d3bd23abeb94f7f0d4687 (patch)
tree66bd240ea8046a05f09e8cb7e2958acc74578af6 /dev-libs/libnl
parentVersion bumped. (diff)
downloadhistorical-9dd66d600bcddb14ac0d3bd23abeb94f7f0d4687.tar.gz
historical-9dd66d600bcddb14ac0d3bd23abeb94f7f0d4687.tar.bz2
historical-9dd66d600bcddb14ac0d3bd23abeb94f7f0d4687.zip
Optionally install API documentation by Thomas Klute (bug #328625).
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'dev-libs/libnl')
-rw-r--r--dev-libs/libnl/ChangeLog5
-rw-r--r--dev-libs/libnl/Manifest4
-rw-r--r--dev-libs/libnl/libnl-1.1-r2.ebuild20
3 files changed, 24 insertions, 5 deletions
diff --git a/dev-libs/libnl/ChangeLog b/dev-libs/libnl/ChangeLog
index 367ec8700094..5221c2962d04 100644
--- a/dev-libs/libnl/ChangeLog
+++ b/dev-libs/libnl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libnl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.40 2010/05/22 13:33:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.41 2010/08/11 00:53:27 jer Exp $
+
+ 11 Aug 2010; Jeroen Roovers <jer@gentoo.org> libnl-1.1-r2.ebuild:
+ Optionally install API documentation by Thomas Klute (bug #328625).
22 May 2010; Raúl Porcel <armin76@gentoo.org> libnl-1.0_pre6.ebuild,
libnl-1.0_pre6-r1.ebuild, libnl-1.1.ebuild, libnl-1.1-r1.ebuild,
diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index a2effc7cdf3e..00c786576dd7 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -16,7 +16,7 @@ EBUILD libnl-0.5.0.ebuild 692 RMD160 877c795dad235159c1336f57ba048fc6640db6a2 SH
EBUILD libnl-1.0_pre6-r1.ebuild 954 RMD160 a6d88bff07b147072192c57593f64c427fd4ccb0 SHA1 d7fc91ca466ffcc5934658e2ba2550f3db6de332 SHA256 67668d11c3a358ea89409d68c5e25ef630d0b57526041902ac0faa6b75d4cb39
EBUILD libnl-1.0_pre6.ebuild 940 RMD160 7a89b61491551e379673c4e36a73ac5c8a2239a6 SHA1 154d2358a90a9313bacbbf1f8ee56ef8f37cff1b SHA256 69c12fe73db158df89c5202e7e9aa57366d1467acd87ab697dc62933e23843f1
EBUILD libnl-1.1-r1.ebuild 780 RMD160 71a094a0330b438256caaa1cec218ac121e74b2d SHA1 e9f8d55da04476732fad347924a66a43f85f034c SHA256 33b8367a958ffe2334f56c10846c04c27cbc12c164c8ef3eaa399922f4a05258
-EBUILD libnl-1.1-r2.ebuild 850 RMD160 2a244622b36ac389970a08ff7122eaca1d734809 SHA1 3615543dec81ce298a98b191345189a930c001bc SHA256 91da63bae34e21078b2b4031b917c48f9ca11c32d3fde7af670671d125cee40b
+EBUILD libnl-1.1-r2.ebuild 1055 RMD160 cf02c00a00257ba658a8fb3b1cb2b1e419358476 SHA1 80437c223efdfadc6845ea62647a3c2c46fb4a87 SHA256 3b822108533c43bec0c06daa4a7ece8e50071adfd19f7e30fcfe7ca8ff579f6c
EBUILD libnl-1.1.ebuild 577 RMD160 46fb21c2e52eb7057edf04dca6235ccc36d3a6e6 SHA1 d7857ba0c559fd189acfb6e4102f48dfe5bf0831 SHA256 f31cb345a558440a72a60f5e44300be741aba6d1e101c029a9582ff28c90b497
-MISC ChangeLog 5809 RMD160 7c943439339af0c4a47b88a1829658af6f480d93 SHA1 af047c4e14ffb2b05cb868b5ca754e6fac8eb6a0 SHA256 66d666f3b11fafbc9256ff34dd863eacc505d582569ec82dc4b589823dde0bda
+MISC ChangeLog 5944 RMD160 7c7eb71ff42e29feb21fb35409263e81d7c57613 SHA1 75dbb97cf7dc89d13e0ab3e82bbc26079eef0bcd SHA256 99a05a880e0324885de7ad9bb8893f43e1ad6914eadf05084aee5291cc8df3b2
MISC metadata.xml 257 RMD160 31a33f71ad088fc55f06494ce46f4278383bb012 SHA1 909146c787ae6f940d598fa431d6d3c2dbcbf594 SHA256 1cfcb15424f420e1604498f361a397b5f45a29da83a51808a6a0c14a9cabe219
diff --git a/dev-libs/libnl/libnl-1.1-r2.ebuild b/dev-libs/libnl/libnl-1.1-r2.ebuild
index 69dd068d36a9..11673e327774 100644
--- a/dev-libs/libnl/libnl-1.1-r2.ebuild
+++ b/dev-libs/libnl/libnl-1.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r2.ebuild,v 1.5 2010/05/22 13:33:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r2.ebuild,v 1.6 2010/08/11 00:53:27 jer Exp $
EAPI="2"
@@ -12,7 +12,9 @@ SRC_URI="http://people.suug.ch/~tgr/libnl/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
-IUSE=""
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen )"
src_prepare() {
epatch "${FILESDIR}"/${P}-vlan-header.patch
@@ -21,7 +23,21 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-flags.patch
}
+src_compile() {
+ default
+
+ if use doc ; then
+ cd "${S}/doc"
+ emake gendoc || die "emake gendoc failed"
+ fi
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc ChangeLog
+
+ if use doc ; then
+ cd "${S}/doc"
+ dohtml -r html/*
+ fi
}