diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-11-19 23:29:02 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-11-19 23:29:02 +0000 |
commit | 7c782cea31525ae1794c1dbd1fb0bb24b6f5f8a6 (patch) | |
tree | 20d7edc59cd8b07ef92f41c98d0e93f166aaa862 /media-sound | |
parent | Fixed gcc-3.4 compile issues and ~amd64 keyworded, bug #68005 (Manifest recom... (diff) | |
download | gentoo-2-7c782cea31525ae1794c1dbd1fb0bb24b6f5f8a6.tar.gz gentoo-2-7c782cea31525ae1794c1dbd1fb0bb24b6f5f8a6.tar.bz2 gentoo-2-7c782cea31525ae1794c1dbd1fb0bb24b6f5f8a6.zip |
Added IUSE=doc to control installation of documentation. Closes bug #71730.
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-driver/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-1.0.7.ebuild | 24 |
2 files changed, 25 insertions, 5 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog index 1968425c1ea4..c3d9129b8dc8 100644 --- a/media-sound/alsa-driver/ChangeLog +++ b/media-sound/alsa-driver/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/alsa-driver # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.103 2004/11/19 10:59:25 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.104 2004/11/19 23:29:02 eradicator Exp $ + + 19 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> + alsa-driver-1.0.7.ebuild: + Added IUSE=doc to control installation of documentation. Closes bug #71730. 19 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> +files/alsa-driver-1.0.7-configure.patch, alsa-driver-1.0.7.ebuild: diff --git a/media-sound/alsa-driver/alsa-driver-1.0.7.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.7.ebuild index ce79a8118793..6fcf4e163159 100644 --- a/media-sound/alsa-driver/alsa-driver-1.0.7.ebuild +++ b/media-sound/alsa-driver/alsa-driver-1.0.7.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.7.ebuild,v 1.6 2004/11/19 10:59:25 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.7.ebuild,v 1.7 2004/11/19 23:29:02 eradicator Exp $ -IUSE="oss" +IUSE="oss doc" inherit kernel-mod flag-o-matic eutils @@ -21,6 +21,7 @@ RDEPEND="virtual/modutils ~media-sound/alsa-headers-${PV}" DEPEND="${RDEPEND} + sys-devel/patch virtual/linux-sources >=sys-devel/autoconf-2.50 sys-apps/debianutils" @@ -94,6 +95,14 @@ src_compile() { unset ARCH # -j1 : see bug #71028 emake -j1 || die "Parallel Make Failed" + + if use doc; then + cd ${S}/scripts + emake || die + + cd ${S}/doc/DocBook + emake || die + fi } @@ -108,8 +117,15 @@ src_install() { test -e ${D}/etc/init.d/alsasound && rm ${D}/etc/init.d/alsasound test -e ${D}/etc/rc.d/init.d/alsasound && rm ${D}/etc/rc.d/init.d/alsasound - rm doc/Makefile - dodoc CARDS-STATUS INSTALL FAQ README WARNING TODO doc/* + dodoc CARDS-STATUS INSTALL FAQ README WARNING TODO + + if use doc; then + docinto doc + dodoc doc/* + + docinto Documentation + dodoc sound/Documentation/* + fi } pkg_postinst() { |