summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-01-02 10:40:29 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-01-02 10:40:29 +0000
commiteffedbb56fa98f77261ec84db01d13029b8bfa40 (patch)
treecff7dca2eb6ebf2dff3edb4deea061fc93743408 /app-laptop/acerhk
parentarm/hppa/ia64/s390 stable for security #74479 (Manifest recommit) (diff)
downloadgentoo-2-effedbb56fa98f77261ec84db01d13029b8bfa40.tar.gz
gentoo-2-effedbb56fa98f77261ec84db01d13029b8bfa40.tar.bz2
gentoo-2-effedbb56fa98f77261ec84db01d13029b8bfa40.zip
Conversion to linux-mod, thanks to Daniel Drake <dsd@gentoo.org> in bug 74520
Diffstat (limited to 'app-laptop/acerhk')
-rw-r--r--app-laptop/acerhk/ChangeLog6
-rw-r--r--app-laptop/acerhk/acerhk-0.5.18-r1.ebuild49
2 files changed, 12 insertions, 43 deletions
diff --git a/app-laptop/acerhk/ChangeLog b/app-laptop/acerhk/ChangeLog
index 1fe8cc5a98bc..03d32c5a8b7c 100644
--- a/app-laptop/acerhk/ChangeLog
+++ b/app-laptop/acerhk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/acerhk
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.5 2005/01/01 14:44:47 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.6 2005/01/02 10:40:29 genstef Exp $
+
+ 02 Jan 2005; Stefan Schweizer <genstef@gentoo.org>
+ acerhk-0.5.18-r1.ebuild:
+ Conversion to linux-mod, thanks to Daniel Drake <dsd@gentoo.org> in bug 74520
06 Dec 2004; Karol Wojtaszek <sekretarz@gentoo.org> acerhk-0.5.18.ebuild:
Stable on x86
diff --git a/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild b/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild
index bbadc42f5f70..908943f2f505 100644
--- a/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild
+++ b/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild,v 1.2 2005/01/01 14:44:47 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild,v 1.3 2005/01/02 10:40:29 genstef Exp $
-inherit kernel-mod eutils
+inherit linux-mod eutils
DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops"
HOMEPAGE="http://www.informatik.hu-berlin.de/~tauber/acerhk/"
@@ -11,10 +11,11 @@ SRC_URI="http://www.informatik.hu-berlin.de/~tauber/acerhk/archives/acerhk-${PV}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-
IUSE=""
-DEPEND="virtual/kernel"
-RDEPEND=""
+
+MODULE_NAMES="acerhk(extra:)"
+BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}"
+BUILD_TARGETS="all"
src_unpack() {
unpack ${A}
@@ -23,43 +24,7 @@ src_unpack() {
}
-src_compile() {
- unset ARCH
- emake || die
-}
-
src_install() {
-
- kernel-mod_getversion
- if [ ${KV_MINOR} -gt 4 ]
- then
- KV_OBJ="ko"
- else
- KV_OBJ="o"
- fi
-
- insinto /lib/modules/${KV}/extra
- doins acerhk.${KV_OBJ}
-
+ linux-mod_src_install
dodoc README COPYING NEWS doc/*
}
-pkg_postinst() {
- kernel-mod_getversion
- if [ ${KV_MINOR} -gt 4 ]
- then
- KV_OBJ="ko"
- else
- KV_OBJ="o"
- fi
-
- echo
- einfo "Checking kernel module dependancies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- einfo "You can load the module:"
- einfo "% modprobe acerhk poll=1"
- echo
- einfo "If you need more info about this driver you can read the README file"
- einfo "% zmore /usr/share/doc/${PN}-${PV}/README.gz"
-}