diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2004-11-12 06:49:31 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2004-11-12 06:49:31 +0000 |
commit | c1f0db2ea61a515425a7334ec35b431ab626dc63 (patch) | |
tree | 17541c6f519314562ac059da0281d1d21eb0c408 /app-laptop | |
parent | Version bump. (diff) | |
download | historical-c1f0db2ea61a515425a7334ec35b431ab626dc63.tar.gz historical-c1f0db2ea61a515425a7334ec35b431ab626dc63.tar.bz2 historical-c1f0db2ea61a515425a7334ec35b431ab626dc63.zip |
Version bump.
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/ibm-acpi/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/Manifest | 6 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/files/digest-ibm-acpi-0.8 | 1 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/ibm-acpi-0.8.ebuild | 89 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/metadata.xml | 1 |
5 files changed, 101 insertions, 3 deletions
diff --git a/app-laptop/ibm-acpi/ChangeLog b/app-laptop/ibm-acpi/ChangeLog index 2c2645afc6b6..a66f3635c3f5 100644 --- a/app-laptop/ibm-acpi/ChangeLog +++ b/app-laptop/ibm-acpi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-laptop/ibm-acpi # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.7 2004/10/24 14:12:47 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.8 2004/11/12 06:49:31 brix Exp $ + +*ibm-acpi-0.8 (12 Nov 2004) + + 12 Nov 2004; Henrik Brix Andersen <brix@gentoo.org> +ibm-acpi-0.8.ebuild: + Version bump. 24 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> ibm-acpi-0.7.ebuild: Added dependency on virtual/linux-sources. diff --git a/app-laptop/ibm-acpi/Manifest b/app-laptop/ibm-acpi/Manifest index 7f4cd31535d9..b4d7fe197874 100644 --- a/app-laptop/ibm-acpi/Manifest +++ b/app-laptop/ibm-acpi/Manifest @@ -1,12 +1,14 @@ +MD5 4bb56debe540912bd5080079560951fd ibm-acpi-0.8.ebuild 1887 MD5 679ba888768ac666d30e59e820578041 ibm-acpi-0.3.ebuild 1765 MD5 0e7ebbaa88994d1a54cf5135234a4fc2 ibm-acpi-0.5.ebuild 1759 MD5 84c682c05121f755098d156eb62289ab ibm-acpi-0.7.ebuild 1871 MD5 c92a4459b9ae22de3f30b55d6c3442ad ibm-acpi-0.4.ebuild 1802 -MD5 195ac26bb6147297edb2817ffce051d5 ChangeLog 1132 -MD5 dc1773fc29727c205a632b4a780a5d21 metadata.xml 219 +MD5 df1e862fb5dd66e67cff0178437f7a04 ChangeLog 1254 +MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 9bc420a87e148fb68b41f0469113d30e ibm-acpi-0.6.ebuild 1847 MD5 d3d4d8542e2fcc77d860f0942089bb8c files/digest-ibm-acpi-0.3 63 MD5 d1c1de52630fbc3ae75edad2fad6f90b files/digest-ibm-acpi-0.4 63 MD5 f0037cea110a171b6db552445d7b26a6 files/digest-ibm-acpi-0.5 63 MD5 8bdcc9667fa7b6b8d621293689703ef1 files/digest-ibm-acpi-0.6 63 MD5 992884fd6007cecf9a450554881b13ed files/digest-ibm-acpi-0.7 63 +MD5 bed3ae2596959ff1e380bfba86458bc5 files/digest-ibm-acpi-0.8 63 diff --git a/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.8 b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.8 new file mode 100644 index 000000000000..3e5373d66ad7 --- /dev/null +++ b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.8 @@ -0,0 +1 @@ +MD5 8e5fa7d61a8e613513629133f9d7208c ibm-acpi-0.8.tar.gz 25979 diff --git a/app-laptop/ibm-acpi/ibm-acpi-0.8.ebuild b/app-laptop/ibm-acpi/ibm-acpi-0.8.ebuild new file mode 100644 index 000000000000..ea41fb01cb2b --- /dev/null +++ b/app-laptop/ibm-acpi/ibm-acpi-0.8.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 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.8.ebuild,v 1.1 2004/11/12 06:49:31 brix Exp $ + +inherit kernel-mod eutils + +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" + +DEPEND="virtual/linux-sources + sys-apps/sed" + +pkg_setup() { + kernel-mod_check_modules_supported + + if ! kernel-mod_configoption_present ACPI + then + eerror "" + eerror "${PN} requires support for ACPI (CONFIG_ACPI) in the kernel." + eerror "" + die "CONFIG_ACPI support not detected." + fi +} + +src_unpack() { + unpack ${A} + + # let pkg_postinst() handle depmod + sed -i "s:depmod -a::" ${S}/Makefile + + kernel-mod_getversion + + if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] + then + sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile + fi +} + +src_compile() { + set_arch_to_kernel + + emake KDIR=${ROOT}/usr/src/linux || die +} + +src_install() { + set_arch_to_kernel + + emake MDIR=${D}/lib/modules/${KV}/acpi install || die + + set_arch_to_portage + + dodoc LICENSE README + + 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 "Checking kernel module dependencies" + test -r "${ROOT}/usr/src/linux/System.map" && \ + depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} + + einfo "" + einfo "You may wish to install sys-apps/acpid to handle the ACPI events generated" + einfo "by ${PN}." + + if use doc &> /dev/null; 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 "" +} diff --git a/app-laptop/ibm-acpi/metadata.xml b/app-laptop/ibm-acpi/metadata.xml index 042b87179f01..cfbdff13bd61 100644 --- a/app-laptop/ibm-acpi/metadata.xml +++ b/app-laptop/ibm-acpi/metadata.xml @@ -4,5 +4,6 @@ <herd>mobile</herd> <maintainer> <email>brix@gentoo.org</email> + <name>Henrik Brix Andersen</name> </maintainer> </pkgmetadata> |