summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-26 13:26:22 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-26 13:26:22 +0000
commita130c520866d2ee3df965255b36d3af53aa03995 (patch)
tree240e2de26ba077c4b5e45880eff340adafd61fe3 /app-misc/omnibook
parentmore error checking (Manifest recommit) (diff)
downloadgentoo-2-a130c520866d2ee3df965255b36d3af53aa03995.tar.gz
gentoo-2-a130c520866d2ee3df965255b36d3af53aa03995.tar.bz2
gentoo-2-a130c520866d2ee3df965255b36d3af53aa03995.zip
use $(tc-getCC)
Diffstat (limited to 'app-misc/omnibook')
-rw-r--r--app-misc/omnibook/omnibook-20040701.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/app-misc/omnibook/omnibook-20040701.ebuild b/app-misc/omnibook/omnibook-20040701.ebuild
index 563910c66466..bd60464f0f5e 100644
--- a/app-misc/omnibook/omnibook-20040701.ebuild
+++ b/app-misc/omnibook/omnibook-20040701.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/omnibook/omnibook-20040701.ebuild,v 1.2 2004/08/18 14:05:23 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/omnibook/omnibook-20040701.ebuild,v 1.3 2004/10/26 13:26:22 vapier Exp $
+
+inherit toolchain-funcs
MY_PV="2004-07-01"
MY_P="${PN}-${MY_PV}"
@@ -8,6 +10,7 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="Linux kernel module for HP Omnibook support"
HOMEPAGE="http://www.sourceforge.net/projects/omke"
SRC_URI="mirror://sourceforge/omke/${MY_P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="${KV}"
KEYWORDS="~x86"
@@ -18,7 +21,7 @@ S="${WORKDIR}/${MY_P}"
src_compile() {
unset ARCH
- emake CC="gcc ${CFLAGS}" KSRC='/usr/src/linux' KERNEL="$(echo ${KV} | cut -c 1-3)" || die
+ emake CC="$(tc-getCC) ${CFLAGS}" KSRC='/usr/src/linux' KERNEL="$(echo ${KV} | cut -c 1-3)" || die
}
src_install() {
@@ -27,12 +30,7 @@ src_install() {
# when the user did a make modules_install in the Kernel tree
insinto /lib/modules/${KV}/char
- doins omnibook.o
+ doins omnibook.o || die
dodoc ${S}/doc/*
}
-
-pkg_postinst() {
- echo '>>> Running depmod...'
- depmod -aq || die
-}