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
commit75aea78f100cc4f1c056ff4b2e0e4e6ee2df37dc (patch)
tree25f882c093a4f76ba30dfd6c979115e268a0acf9 /app-misc
parentuse $(tc-getCC) (diff)
downloadhistorical-75aea78f100cc4f1c056ff4b2e0e4e6ee2df37dc.tar.gz
historical-75aea78f100cc4f1c056ff4b2e0e4e6ee2df37dc.tar.bz2
historical-75aea78f100cc4f1c056ff4b2e0e4e6ee2df37dc.zip
use $(tc-getCC)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/omnibook/Manifest8
-rw-r--r--app-misc/omnibook/omnibook-20040701.ebuild14
2 files changed, 10 insertions, 12 deletions
diff --git a/app-misc/omnibook/Manifest b/app-misc/omnibook/Manifest
index bf795d31817d..62bc0d03d686 100644
--- a/app-misc/omnibook/Manifest
+++ b/app-misc/omnibook/Manifest
@@ -1,9 +1,9 @@
-MD5 401e4d9119bdf238931a661b459cf1f0 omnibook-20030828.ebuild 921
-MD5 8dcabe427e2ef20e14e716c661fbc91c omnibook-20021016.ebuild 674
MD5 62a8d7e7e05cbce1eb43b7f189ffe9bc ChangeLog 817
+MD5 8dcabe427e2ef20e14e716c661fbc91c omnibook-20021016.ebuild 674
MD5 8e1cd15feaf13d71ecc37744cbf15906 omnibook-20030403.ebuild 921
-MD5 423de6a99e1d0d9827fb3f3ef0d2b0fc omnibook-20040701.ebuild 1000
+MD5 401e4d9119bdf238931a661b459cf1f0 omnibook-20030828.ebuild 921
+MD5 036bd0b05715a15df35c0750269e9961 omnibook-20040701.ebuild 971
MD5 a3344458094ddcd21372db887e7613a4 files/digest-omnibook-20021016 70
MD5 54b0cd349e32bc6df3e21fb8fc875d1b files/digest-omnibook-20030403 70
-MD5 b5bf4d8a278c1e3d08ff2dbdba4868e2 files/digest-omnibook-20040701 70
MD5 19837ebc974717403728fff87f49488d files/digest-omnibook-20030828 70
+MD5 b5bf4d8a278c1e3d08ff2dbdba4868e2 files/digest-omnibook-20040701 70
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
-}