diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-08-26 08:12:23 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-08-26 08:12:23 +0000 |
commit | e0baf4c66f7410f3826424161022457a0f149951 (patch) | |
tree | d4bbb6ce911ac6e6306ed90ed5b7b8404f942ab2 /app-laptop | |
parent | Fixed repoman warnings (missing IUSE) (diff) | |
download | historical-e0baf4c66f7410f3826424161022457a0f149951.tar.gz historical-e0baf4c66f7410f3826424161022457a0f149951.tar.bz2 historical-e0baf4c66f7410f3826424161022457a0f149951.zip |
Initial add. Bug #48735
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/acerhk/ChangeLog | 8 | ||||
-rw-r--r-- | app-laptop/acerhk/Manifest | 4 | ||||
-rw-r--r-- | app-laptop/acerhk/acerhk-0.5.14.ebuild | 57 | ||||
-rw-r--r-- | app-laptop/acerhk/files/digest-acerhk-0.5.14 | 1 | ||||
-rw-r--r-- | app-laptop/acerhk/metadata.xml | 9 |
5 files changed, 79 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/Manifest b/app-laptop/acerhk/Manifest new file mode 100644 index 000000000000..2cb6f1a455e1 --- /dev/null +++ b/app-laptop/acerhk/Manifest @@ -0,0 +1,4 @@ +MD5 a74acdd5a65e40f98981dfae8d3fde98 acerhk-0.5.14.ebuild 1295 +MD5 2f057f06716dd94e5276b52c05d5cb86 ChangeLog 397 +MD5 5cb0503040fe79660f0fbbc6773fd9d7 metadata.xml 259 +MD5 8abbedc4f60d0f73813a5aec0ff94c36 files/digest-acerhk-0.5.14 65 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> |