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
commitc01ef7a192ee78ef5d3ce29794184c96c2b77a1f (patch)
treef0d4cc4834548356041d109f1d3ffc73626e53b0 /app-laptop/acerhk
parentarm/hppa/ia64/s390 stable for security #74479 (diff)
downloadhistorical-c01ef7a192ee78ef5d3ce29794184c96c2b77a1f.tar.gz
historical-c01ef7a192ee78ef5d3ce29794184c96c2b77a1f.tar.bz2
historical-c01ef7a192ee78ef5d3ce29794184c96c2b77a1f.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/Manifest6
-rw-r--r--app-laptop/acerhk/acerhk-0.5.18-r1.ebuild49
3 files changed, 15 insertions, 46 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/Manifest b/app-laptop/acerhk/Manifest
index 649e8dc5edcd..380d2ca5072e 100644
--- a/app-laptop/acerhk/Manifest
+++ b/app-laptop/acerhk/Manifest
@@ -1,9 +1,9 @@
-MD5 165d32524f760c9a024ac5b4d0fa9cfc ChangeLog 911
+MD5 e568af361479ea706763fc4b00ea7ed5 acerhk-0.5.18-r1.ebuild 796
MD5 dbfd7d7c9eaaec5ca511222f262efd32 acerhk-0.5.14.ebuild 1295
+MD5 68055f4ce99f180a6272627b21732c4d ChangeLog 1069
MD5 5cb0503040fe79660f0fbbc6773fd9d7 metadata.xml 259
MD5 11099670b3c1caf4130626c06d8eeb17 acerhk-0.5.18.ebuild 1295
-MD5 22fd6a4795369ad98c164e891bbb6d18 acerhk-0.5.18-r1.ebuild 1393
+MD5 ffca9b53bdd343a0206d4bed9290df38 files/digest-acerhk-0.5.18-r1 65
MD5 8abbedc4f60d0f73813a5aec0ff94c36 files/digest-acerhk-0.5.14 65
MD5 ffca9b53bdd343a0206d4bed9290df38 files/digest-acerhk-0.5.18 65
MD5 7329ff74633cb9478acf3ba9f535d52c files/acerhk-0.5.18-redef-wireless.patch 911
-MD5 ffca9b53bdd343a0206d4bed9290df38 files/digest-acerhk-0.5.18-r1 65
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"
-}