summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-03 02:58:15 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-03 02:58:15 +0000
commit10932a63e9bb9c1ea3c71ff71a31f9f4bfd7bafb (patch)
tree4da14f4fe04baff3691a24f6154ffc45867d8ed2 /media-sound/nforce-audio
parentcleanup (diff)
downloadgentoo-2-10932a63e9bb9c1ea3c71ff71a31f9f4bfd7bafb.tar.gz
gentoo-2-10932a63e9bb9c1ea3c71ff71a31f9f4bfd7bafb.tar.bz2
gentoo-2-10932a63e9bb9c1ea3c71ff71a31f9f4bfd7bafb.zip
remove deprecated $DEBUG
Diffstat (limited to 'media-sound/nforce-audio')
-rw-r--r--media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild25
-rw-r--r--media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild21
2 files changed, 14 insertions, 32 deletions
diff --git a/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild b/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild
index a1fb07ac0247..ef8b13f8a4d0 100644
--- a/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild
+++ b/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild
@@ -1,31 +1,25 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild,v 1.1 2003/05/07 23:59:27 alron Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild,v 1.2 2003/08/03 02:58:15 vapier Exp $
inherit gcc
-# Make sure Portage does _NOT_ strip symbols. Need both lines for
-# Portage 1.8.9+
-DEBUG="yes"
-RESTRICT="nostrip"
-
NV_V="${PV/1.0./1.0-}"
NV_PACKAGE="NVIDIA_nforce-${NV_V}"
-S="${WORKDIR}/nforce"
DESCRIPTION="Linux kernel module for the NVIDIA's nForce1/2 SoundStorm audio chipset"
-SRC_URI="http://download.nvidia.com/XFree86/nforce/${NV_V}/${NV_PACKAGE}.tar.gz"
HOMEPAGE="http://www.nvidia.com/"
+SRC_URI="http://download.nvidia.com/XFree86/nforce/${NV_V}/${NV_PACKAGE}.tar.gz"
-# The slow needs to be set to $KV to prevent unmerges of
-# modules for other kernels.
LICENSE="NVIDIA GPL-2"
SLOT="${KV}"
KEYWORDS="-* ~x86"
+RESTRICT="nostrip"
+
+DEPEND="virtual/linux-sources"
-DEPEND="virtual/linux-sources >=sys-apps/portage-1.9.10"
+S=${WORKDIR}/nforce
src_compile() {
- # Portage should determine the version of the kernel sources
check_KV
cd ${S}/nvaudio
make KERNSRC="/usr/src/linux" || die
@@ -35,14 +29,12 @@ src_install() {
# The driver goes into the standard modules location
insinto /lib/modules/${KV}/kernel/drivers/sound
doins nvaudio/nvaudio.o
-
- # Docs
+
dodoc ${S}/ReleaseNotes.html ${S}/GNULicense.txt ${S}/NVLicense.txt
}
pkg_postinst() {
- if [ "${ROOT}" = "/" ]
- then
+ if [ "${ROOT}" = "/" ] ; then
# Update module dependency
[ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
fi
@@ -53,4 +45,3 @@ pkg_postinst() {
einfo "use the 'hotplug' package ('emerge hotplug' then 'rc-update add"
einfo "hotplug default') to auto-detect and load \"nvaudio\" on startup."
}
-
diff --git a/media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild b/media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild
index 57d70afd5876..34f03d10e120 100644
--- a/media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild
+++ b/media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild
@@ -1,31 +1,25 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild,v 1.1 2003/06/12 05:06:08 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0261.ebuild,v 1.2 2003/08/03 02:58:15 vapier Exp $
inherit gcc
-# Make sure Portage does _NOT_ strip symbols. Need both lines for
-# Portage 1.8.9+
-DEBUG="yes"
-RESTRICT="nostrip"
-
NV_V="${PV/1.0./1.0-}"
NV_PACKAGE="NVIDIA_nforce-${NV_V}"
-S="${WORKDIR}/nforce"
DESCRIPTION="Linux kernel module for the NVIDIA's nForce1/2 SoundStorm audio chipset"
-SRC_URI="http://download.nvidia.com/XFree86/nforce/${NV_V}/${NV_PACKAGE}.tar.gz"
HOMEPAGE="http://www.nvidia.com/"
+SRC_URI="http://download.nvidia.com/XFree86/nforce/${NV_V}/${NV_PACKAGE}.tar.gz"
-# The slow needs to be set to $KV to prevent unmerges of
-# modules for other kernels.
LICENSE="NVIDIA GPL-2"
SLOT="${KV}"
KEYWORDS="-* x86"
+RESTRICT="nostrip"
DEPEND="virtual/linux-sources"
+S=${WORKDIR}/nforce
+
src_compile() {
- # Portage should determine the version of the kernel sources
check_KV
cd ${S}/nvaudio
make KERNSRC="/usr/src/linux" || die
@@ -36,7 +30,6 @@ src_install() {
insinto /lib/modules/${KV}/kernel/drivers/sound
doins nvaudio/nvaudio.o
- # Docs
dodoc ${S}/ReleaseNotes.html ${S}/GNULicense.txt ${S}/NVLicense.txt
dodir /etc/modules.d
@@ -49,8 +42,7 @@ EOF
}
pkg_postinst() {
- if [ "${ROOT}" = "/" ]
- then
+ if [ "${ROOT}" = "/" ] ; then
# Update module dependency
[ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
fi
@@ -65,4 +57,3 @@ pkg_postinst() {
einfo "the \"nvaudio\" driver to enable digital SPDIF out the next time it"
einfo "is loaded."
}
-