summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-08-26 08:12:23 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-08-26 08:12:23 +0000
commit8b9aefe31f58fb59beb70755719bf7c7c2e2f186 (patch)
tree49ee1ac455e562e193137e23c38c606d6a63c5a1 /app-laptop
parentFixed repoman warnings (missing IUSE) (Manifest recommit) (diff)
downloadgentoo-2-8b9aefe31f58fb59beb70755719bf7c7c2e2f186.tar.gz
gentoo-2-8b9aefe31f58fb59beb70755719bf7c7c2e2f186.tar.bz2
gentoo-2-8b9aefe31f58fb59beb70755719bf7c7c2e2f186.zip
Initial add. Bug #48735
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/acerhk/ChangeLog8
-rw-r--r--app-laptop/acerhk/acerhk-0.5.14.ebuild57
-rw-r--r--app-laptop/acerhk/files/digest-acerhk-0.5.141
-rw-r--r--app-laptop/acerhk/metadata.xml9
4 files changed, 75 insertions, 0 deletions
diff --git a/app-laptop/acerhk/ChangeLog b/app-laptop/acerhk/ChangeLog
new file mode 100644
index 000000000000..039c5bd1b82e
--- /dev/null
+++ b/app-laptop/acerhk/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-laptop/acerhk
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.1 2004/08/26 08:12:23 sekretarz Exp $
+
+ 26 Aug 2004; Karol Wojtaszek <sekretarz@gentoo.org> :
+ Initial add. Thanks to Sebastien ESTIENNE <sebest@ovibes.net> and Ronald van
+ der Meer <revdmeer@conceptsfa.nl> in bug #48735.
+
diff --git a/app-laptop/acerhk/acerhk-0.5.14.ebuild b/app-laptop/acerhk/acerhk-0.5.14.ebuild
new file mode 100644
index 000000000000..9b9e5f77f839
--- /dev/null
+++ b/app-laptop/acerhk/acerhk-0.5.14.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.14.ebuild,v 1.1 2004/08/26 08:12:23 sekretarz Exp $
+
+inherit kernel-mod eutils
+
+DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops"
+HOMEPAGE="http://www.informatik.hu-berlin.de/~tauber/acerhk/"
+SRC_URI="http://www.informatik.hu-berlin.de/~tauber/acerhk/archives/acerhk-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+DEPEND="virtual/kernel"
+RDEPEND=""
+
+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}
+
+ 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"
+}
diff --git a/app-laptop/acerhk/files/digest-acerhk-0.5.14 b/app-laptop/acerhk/files/digest-acerhk-0.5.14
new file mode 100644
index 000000000000..20347f61fcb1
--- /dev/null
+++ b/app-laptop/acerhk/files/digest-acerhk-0.5.14
@@ -0,0 +1 @@
+MD5 686c248088610eafd5bf12a43fc5100f acerhk-0.5.14.tar.bz2 26630
diff --git a/app-laptop/acerhk/metadata.xml b/app-laptop/acerhk/metadata.xml
new file mode 100644
index 000000000000..7a441b561db3
--- /dev/null
+++ b/app-laptop/acerhk/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+<maintainer>
+ <email>sekretarz@gentoo.org</email>
+ <name>Karol Wojtaszek</name>
+</maintainer>
+</pkgmetadata>