summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-11-19 23:29:02 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-11-19 23:29:02 +0000
commit97b76f8edef488295e9a84b33cb640ad7bfeecc6 (patch)
treefb65a1fc83cdd3150c5b135cac14ef04ea8e2e5b /media-sound/alsa-driver
parentFixed gcc-3.4 compile issues and ~amd64 keyworded, bug #68005 (diff)
downloadhistorical-97b76f8edef488295e9a84b33cb640ad7bfeecc6.tar.gz
historical-97b76f8edef488295e9a84b33cb640ad7bfeecc6.tar.bz2
historical-97b76f8edef488295e9a84b33cb640ad7bfeecc6.zip
Added IUSE=doc to control installation of documentation. Closes bug #71730.
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r--media-sound/alsa-driver/ChangeLog6
-rw-r--r--media-sound/alsa-driver/Manifest10
-rw-r--r--media-sound/alsa-driver/alsa-driver-1.0.7.ebuild24
3 files changed, 30 insertions, 10 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/Manifest b/media-sound/alsa-driver/Manifest
index b67518dcd38e..f86926a6a713 100644
--- a/media-sound/alsa-driver/Manifest
+++ b/media-sound/alsa-driver/Manifest
@@ -1,10 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 b3314f35a8f4e3b466be0dfde1488767 alsa-driver-1.0.7.ebuild 3699
+MD5 c5c17a668b3f9abdbbf8eab43cef21a6 alsa-driver-1.0.7.ebuild 3898
MD5 d388a1b0706024ddccccc99045b976f9 alsa-driver-0.9.8.ebuild 2341
MD5 e5de43659b629d1e9f0ee8d3f1864840 alsa-driver-1.0.3.ebuild 3363
-MD5 a1ceb086104c2bd3edbe9bf07b4bf353 ChangeLog 17448
+MD5 3e1223a9d213887bf37773c129d753c1 ChangeLog 17613
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 9f0283e4e9611766ad3110532d4976d7 alsa-driver-1.0.5a.ebuild 3603
MD5 45f95cf50aad5f544f0fa05dcf94d1ad alsa-driver-1.0.6a.ebuild 3501
@@ -25,7 +25,7 @@ MD5 8bb31a005a1db2e306c51d017fd44e70 files/alsa-driver-1.0.5a-xbox-ac97.patch 72
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBndIfArHZZzCEUG0RAiTnAJ9vsezzNQqPXp+MoSIOGo+cX8RuZACfb8N1
-00Ibuu6wRK+dhOil30PC42w=
-=W2oW
+iD8DBQFBnoHJArHZZzCEUG0RAjwNAJkBhH02xLxMH2pdhlK+KHRu8E6+zwCfarQR
+XZ6siowSg1+3svM/nbYMhrQ=
+=XebB
-----END PGP SIGNATURE-----
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() {