Version bump.
authorHenrik Brix Andersen <brix@gentoo.org>
Sun, 16 Jan 2005 18:51:24 +0000 (18:51 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Sun, 16 Jan 2005 18:51:24 +0000 (18:51 +0000)
Package-Manager: portage-2.0.51-r12

app-laptop/ibm-acpi/ChangeLog
app-laptop/ibm-acpi/Manifest
app-laptop/ibm-acpi/files/digest-ibm-acpi-0.10 [new file with mode: 0644]
app-laptop/ibm-acpi/ibm-acpi-0.10.ebuild [new file with mode: 0644]

index 8baceb59485ff8e1248136ade853ac65e601dee7..4c1972ab606d4a1c970993bc289dfaff747c1012 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-laptop/ibm-acpi
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.17 2005/01/04 10:12:50 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.18 2005/01/16 18:51:24 brix Exp $
+
+*ibm-acpi-0.10 (16 Jan 2005)
+
+  16 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +ibm-acpi-0.10.ebuild:
+  Version bump.
 
   04 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> ibm-acpi-0.8-r1.ebuild:
   No need to install the LICENSE file.
index 77f0dad62a41d3aa2e1051ed5773fc9b770ca5c4..ca3f2bf604ba923c6448148af1b1b29d486dfa04 100644 (file)
@@ -1,6 +1,8 @@
+MD5 a7c6e04ee11ec9e3e494b659dee47d6e ibm-acpi-0.10.ebuild 1511
 MD5 82e8a78cafa40d4e9506e6c58556ddae ibm-acpi-0.8.ebuild 2272
 MD5 b0ab6d1014d047054f8d23926a86356d ibm-acpi-0.8-r1.ebuild 1513
-MD5 cca4d6c2c8874eed842b803b637ef735 ChangeLog 2377
+MD5 1a356fbac09b68ebccc5d2962296b319 ChangeLog 2501
 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
+MD5 d206fe5459cdac396c96a997cc59b537 files/digest-ibm-acpi-0.10 64
 MD5 bed3ae2596959ff1e380bfba86458bc5 files/digest-ibm-acpi-0.8-r1 63
 MD5 bed3ae2596959ff1e380bfba86458bc5 files/digest-ibm-acpi-0.8 63
diff --git a/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.10 b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.10
new file mode 100644 (file)
index 0000000..760ac73
--- /dev/null
@@ -0,0 +1 @@
+MD5 5c7e038ea465a961ffdb65afb06e737f ibm-acpi-0.10.tar.gz 33388
diff --git a/app-laptop/ibm-acpi/ibm-acpi-0.10.ebuild b/app-laptop/ibm-acpi/ibm-acpi-0.10.ebuild
new file mode 100644 (file)
index 0000000..64c18cc
--- /dev/null
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ibm-acpi-0.10.ebuild,v 1.1 2005/01/16 18:51:24 brix Exp $
+
+inherit linux-mod
+
+DESCRIPTION="IBM ThinkPad ACPI extras"
+
+HOMEPAGE="http://ibm-acpi.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc"
+
+BUILD_PARAMS="KDIR=${KV_DIR}"
+BUILD_TARGETS="default"
+MODULE_NAMES="ibm_acpi(acpi:)"
+MODULESD_IBM_ACPI_DOCS="README"
+
+CONFIG_CHECK="!ACPI_IBM ACPI"
+ACPI_IBM_ERROR="${P} requires IBM ThinkPad Laptop Extras (CONFIG_ACPI_IBM) to be DISABLED in the kernel."
+ACPI_ERROR="${P} requires an ACPI (CONFIG_ACPI) enabled kernel."
+
+pkg_setup() {
+       if kernel_is 2 4; then
+               die "${P} does not support kernel 2.4.x"
+       fi
+
+       linux-mod_pkg_setup
+}
+
+src_unpack() {
+       unpack ${A}
+
+       convert_to_m ${S}/Makefile
+}
+
+src_install() {
+       linux-mod_src_install
+
+       if use doc; then
+               docinto examples/etc/acpi/actions
+               dodoc config/etc/acpi/actions/*
+
+               docinto examples/etc/acpi/events
+               dodoc config/etc/acpi/events/*
+       fi
+}
+
+pkg_postinst() {
+       einfo ""
+       einfo "You may wish to install sys-apps/acpid to handle the ACPI events generated"
+       einfo "by ${PN}."
+
+       if useq doc; then
+               einfo ""
+               einfo "Example acpid configuration has been installed to"
+               einfo "/usr/share/doc/${PF}/examples/"
+       fi
+
+       einfo ""
+       einfo "For further instructions please see /usr/share/doc/${PF}/README.gz"
+       einfo ""
+
+       linux-mod_pkg_postinst
+}