diff options
author | William Hubbs <williamh@gentoo.org> | 2012-01-10 22:19:09 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-01-10 22:19:09 +0000 |
commit | ce8a4bfdc7b4deba84fb37b12488cb2289d747ed (patch) | |
tree | 0c0bb941b2e5ce939dfafe042b1ad2da8b2e266b /sys-apps/kmod | |
parent | Removed bundled libraries, added suggested dependencies and optional ones as ... (diff) | |
download | historical-ce8a4bfdc7b4deba84fb37b12488cb2289d747ed.tar.gz historical-ce8a4bfdc7b4deba84fb37b12488cb2289d747ed.tar.bz2 historical-ce8a4bfdc7b4deba84fb37b12488cb2289d747ed.zip |
add a doc use flag for the api documentation
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/kmod')
-rw-r--r-- | sys-apps/kmod/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/kmod/kmod-9999.ebuild | 19 |
2 files changed, 18 insertions, 9 deletions
diff --git a/sys-apps/kmod/Manifest b/sys-apps/kmod/Manifest index 30443781e314..187c7a83f0c2 100644 --- a/sys-apps/kmod/Manifest +++ b/sys-apps/kmod/Manifest @@ -3,13 +3,13 @@ Hash: SHA1 DIST kmod-3.tar.xz 285512 RMD160 98c7ef530c2ecf682042ea4d4ade1f30587347e6 SHA1 41f6d6082f72d2c4869f51844d7e9212c8091033 SHA256 4b32439703ab2837e81ae80f527f9e964ecb5883a9e80d1cc7518cf6e8593ad9 EBUILD kmod-3.ebuild 1351 RMD160 05e780b133c7286b3e8a9b08677f5f20b582de9a SHA1 ae0ea91ec03f58dd8b3504868a8f18cc2f44cfa6 SHA256 1ac045675f866b73e0bcabaf4dbf86322d7afd8090883d9452be8375a3ecf236 -EBUILD kmod-9999.ebuild 1419 RMD160 32ddbff923a93dca0eaf65de399186176e8c8e3c SHA1 4a4def88659d62d4466c6c392fd426d120603a84 SHA256 7d0389fa2e7ea434d0f1d4ddc88b0b26c8fe8746547d015cf835e51f83e2a2d6 +EBUILD kmod-9999.ebuild 1657 RMD160 25ca9533428392bde883a7561ecfe295bdedb8a9 SHA1 8705f92117f0942d08c6d1a432ccc97e1d5e2c30 SHA256 c6892754b79015901f9976e2e20dbfa22acf605eac4a45614b1564d1a7fc921a MISC ChangeLog 1935 RMD160 b453833de01171b8ac65d927b339e41ecac87dc9 SHA1 743197d2000c8b5beab6a1702ae53204f751cb62 SHA256 65d4917d505e118290e205fc9b0ec18bb938495a8df7dc32ce4d9615ea782adc MISC metadata.xml 393 RMD160 bffbe1d7720f7f9ebdd7fb9d7552994b9c161b7d SHA1 804b5515869554066ad97f800f10396512af4446 SHA256 1eba43575811e9a73366f6bccd3fe9f95ae0a3fb2877874abf40c16f4ad8f9cd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk8LD3QACgkQblQW9DDEZTgkrwCgr78ttYFaxd7WjJvtpwXqZv0q -/WMAoIlaQfA0vU3RXjaXQHPtJV0tugER -=LTw6 +iEYEARECAAYFAk8MuWgACgkQblQW9DDEZTgyYwCdHSWxCk2Z+BuV62hR4PbzEll9 +4N0AnjlgUBCPPfE/CV85F7XkIJ22A47F +=Sk0Z -----END PGP SIGNATURE----- diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild index c5cb570a153d..528f9b8ecab1 100644 --- a/sys-apps/kmod/kmod-9999.ebuild +++ b/sys-apps/kmod/kmod-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.6 2012/01/09 16:01:44 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.7 2012/01/10 22:19:09 williamh Exp $ EAPI=4 @@ -20,18 +20,26 @@ HOMEPAGE="http://git.profusion.mobi/cgit.cgi/kmod.git" LICENSE="LGPL-2" SLOT="0" -IUSE="+compat debug lzma static-libs +tools zlib" +IUSE="+compat doc debug lzma static-libs +tools zlib" REQUIRED_USE="compat? ( tools )" -DEPEND="compat? ( !!sys-apps/module-init-tools ) +COMMON_DEPEND="compat? ( !!sys-apps/module-init-tools ) lzma? ( app-arch/xz-utils ) zlib? ( sys-libs/zlib )" -RDEPEND="${DEPEND}" + +DEPEND="${COMMON_DEPEND} + doc? ( dev-util/gtk-doc )" +RDEPEND="${COMMON_DEPEND}" src_prepare() { if [ ! -e configure ]; then + if use doc; then + gtkdocize --copy --docdir libkmod/docs || die "gtkdocize failed" + else + touch libkmod/docs/gtk-doc.make + fi eautoreconf else elibtoolize @@ -42,6 +50,7 @@ src_configure() { econf \ $(use_enable debug) \ + $(use_enable doc gtk-doc) \ $(use_with lzma xz) \ $(use_enable static-libs static) \ $(use_enable tools) \ @@ -56,7 +65,7 @@ src_install() find "${D}" -name libkmod.la -delete if use compat && use tools; then - dodir /sbin + dodir /sbin for cmd in depmod insmod lsmod modinfo modprobe rmmod; do dosym /usr/bin/kmod /sbin/$cmd done |