diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2004-10-18 18:36:43 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2004-10-18 18:36:43 +0000 |
commit | db9a62522a4e85754cf911c0ee5ce8dcc4d634d0 (patch) | |
tree | a79c173f5c3f2a5b3ce9d91e0fa8c80faaa79925 /app-laptop/ibm-acpi | |
parent | cleaning unneeded ebuilds. (Manifest recommit) (diff) | |
download | gentoo-2-db9a62522a4e85754cf911c0ee5ce8dcc4d634d0.tar.gz gentoo-2-db9a62522a4e85754cf911c0ee5ce8dcc4d634d0.tar.bz2 gentoo-2-db9a62522a4e85754cf911c0ee5ce8dcc4d634d0.zip |
Version bump.
Diffstat (limited to 'app-laptop/ibm-acpi')
-rw-r--r-- | app-laptop/ibm-acpi/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/Manifest | 2 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/files/digest-ibm-acpi-0.5 | 1 | ||||
-rw-r--r-- | app-laptop/ibm-acpi/ibm-acpi-0.5.ebuild | 78 |
4 files changed, 87 insertions, 1 deletions
diff --git a/app-laptop/ibm-acpi/ChangeLog b/app-laptop/ibm-acpi/ChangeLog index a6912882f24f..6f47cb2faf4a 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.3 2004/10/04 14:29:58 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ChangeLog,v 1.4 2004/10/18 18:36:43 brix Exp $ + +*ibm-acpi-0.5 (18 Oct 2004) + + 18 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> +ibm-acpi-0.5.ebuild: + Version bump. 04 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> ibm-acpi-0.4.ebuild: Stable on x86 diff --git a/app-laptop/ibm-acpi/Manifest b/app-laptop/ibm-acpi/Manifest index f6c50b3ae4ac..2a2bba781ea3 100644 --- a/app-laptop/ibm-acpi/Manifest +++ b/app-laptop/ibm-acpi/Manifest @@ -1,6 +1,8 @@ MD5 679ba888768ac666d30e59e820578041 ibm-acpi-0.3.ebuild 1765 +MD5 6cde8daa2559706e18261ac7ba899ef7 ibm-acpi-0.5.ebuild 1660 MD5 c92a4459b9ae22de3f30b55d6c3442ad ibm-acpi-0.4.ebuild 1802 MD5 15ef939025ac627d481bf6fde7dda618 ChangeLog 596 MD5 dc1773fc29727c205a632b4a780a5d21 metadata.xml 219 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 diff --git a/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.5 b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.5 new file mode 100644 index 000000000000..72172249250f --- /dev/null +++ b/app-laptop/ibm-acpi/files/digest-ibm-acpi-0.5 @@ -0,0 +1 @@ +MD5 a7a2d36373ac0ce6b4a855266995f1d0 ibm-acpi-0.5.tar.gz 25670 diff --git a/app-laptop/ibm-acpi/ibm-acpi-0.5.ebuild b/app-laptop/ibm-acpi/ibm-acpi-0.5.ebuild new file mode 100644 index 000000000000..1b6487988630 --- /dev/null +++ b/app-laptop/ibm-acpi/ibm-acpi-0.5.ebuild @@ -0,0 +1,78 @@ +# 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.5.ebuild,v 1.1 2004/10/18 18:36:43 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="" + +DEPEND="sys-apps/sed" + +src_unpack() { + 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 + + 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 + + docinto examples/etc/acpi/actions + dodoc config/etc/acpi/actions/* + + docinto examples/etc/acpi/events + dodoc config/etc/acpi/events/* +} + +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 ${P}. Example acpid configuration has been installed to" + einfo "/usr/share/doc/${PF}/examples/" + einfo "" + einfo "For further instructions please see /usr/share/doc/${PF}/README.gz" + einfo "" +} |