summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Chandler <sethbc@gentoo.org>2003-01-19 04:30:38 +0000
committerSeth Chandler <sethbc@gentoo.org>2003-01-19 04:30:38 +0000
commitb39dcbf123a3744cb93b75364492b7e85454ec34 (patch)
tree0af5f3629b1056c97ae97d3b18bf42d618cf0438
parent*** empty log message *** (diff)
downloadgentoo-2-b39dcbf123a3744cb93b75364492b7e85454ec34.tar.gz
gentoo-2-b39dcbf123a3744cb93b75364492b7e85454ec34.tar.bz2
gentoo-2-b39dcbf123a3744cb93b75364492b7e85454ec34.zip
now installs to directory pointed at by /usr/src/linux
-rw-r--r--net-misc/bcm4400/bcm4400-1.0.1.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-misc/bcm4400/bcm4400-1.0.1.ebuild b/net-misc/bcm4400/bcm4400-1.0.1.ebuild
index efcc78f04e28..0069e5f2fd8d 100644
--- a/net-misc/bcm4400/bcm4400-1.0.1.ebuild
+++ b/net-misc/bcm4400/bcm4400-1.0.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-1.0.1.ebuild,v 1.1 2003/01/19 03:50:31 sethbc Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-1.0.1.ebuild,v 1.2 2003/01/19 04:30:38 sethbc Exp $
SRC_URI="http://www.nodomain.org/bcm4400-1.0.1.tar.gz"
DESCRIPTION="Driver for the bcm4400 gigabit card (in the form of kernel modules)."
-HOMEPAGE="http:"
+HOMEPAGE="http://www.mikrolog.fi/Levyt/NET/BC4401.asp"
LICENSE="GPL-2"
SLOT="0"
@@ -13,11 +13,15 @@ KEYWORDS="~x86"
S=${WORKDIR}/src
src_compile() {
- emake || die
+ eval $(head -n4 /usr/src/linux/Makefile | sed -e 's: = :=:')
+ mv Makefile Makefile.orig
+ sed -e "s|\`uname -r\`|$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION|" \
+ < Makefile.orig > Makefile
+ emake || die
}
src_install() {
- make PREFIX=${D} install || die
+ make PREFIX=${D} install || die
}