# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/suspend2-sources/suspend2-sources-2.6.20-r3.ebuild,v 1.1 2007/03/23 14:10:15 alonbl Exp $ ETYPE="sources" K_WANT_GENPATCHES="base extras" K_GENPATCHES_VER="4" inherit kernel-2 detect_version detect_arch DESCRIPTION="Software Suspend 2 + Gentoo patchset sources + SCO Flowcontrol + Latest IBM-Acpi" HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://www.suspend2.net http://bluetooth-alsa.sourceforge.net/ http://ibm-acpi.sourceforge.net/" IUSE="sco_flowcontrol" SUSPEND2_VERSION="2.2.9.10" SUSPEND2_TARGET="2.6.20" SUSPEND2_SRC="suspend2-${SUSPEND2_VERSION}-for-${SUSPEND2_TARGET}" SUSPEND2_URI="http://www.suspend2.net/downloads/all/${SUSPEND2_SRC}.patch.bz2" SCO_FLOWCONTROL_VERSION="3.0" SCO_FLOWCONTROL_SRC="sco-flowcontrol-v${SCO_FLOWCONTROL_VERSION}" SCO_FLOWCONTROL_URI="http://bluetooth-alsa.cvs.sourceforge.net/*checkout*/bluetooth-alsa/plugz/patches/${SCO_FLOWCONTROL_SRC}.diff" IBM_ACPI_VERSION="0.13-20070310" IBM_ACPI_TARGET="2.6.20.2" IBM_ACPI_SRC="ibm-acpi-${IBM_ACPI_VERSION}_v${IBM_ACPI_TARGET}.patch.gz" IBM_ACPI_URI="mirror://sourceforge/ibm-acpi/${IBM_ACPI_SRC}" IEEE80211_VERSION="1.2.17" IEEE80211_TARGET="2.6.20" IEEE80211_SRC="05-ieee80211-${IEEE80211_VERSION}-for-${IEEE80211_TARGET}.patch" IEEE80211_URI="http://whoopie.gmxhome.de/linux/patches/2.6.20/${IEEE80211_SRC}" UNIPATCH_LIST="${FILESDIR}/acpi-removable_bay-for-2.6.20.patch" if use sco_flowcontrol; then UNIPATCH_LIST="${UNIPATCH_LIST} ${DISTDIR}/${SCO_FLOWCONTROL_SRC}.diff" fi UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/disk-protect-for-2.6.20.patch ${DISTDIR}/${IBM_ACPI_SRC} ${DISTDIR}/${IEEE80211_SRC} ${FILESDIR}/libata-sd-stop_on_shutdown.patch ${DISTDIR}/${SUSPEND2_SRC}.patch.bz2 ${FILESDIR}/${PN}-2.6.19-vesafb.patch" UNIPATCH_STRICTORDER="yes" SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SUSPEND2_URI} ${IBM_ACPI_URI} sco_flowcontrol? ( ${SCO_FLOWCONTROL_URI} ) ${IEEE80211_URI}" KEYWORDS="~amd64 ~x86" RDEPEND="${RDEPEND} ~sys-apps/suspend2-userui-0.7.0 >=sys-power/hibernate-script-1.94" K_EXTRAEINFO="If there are issues with this kernel, please direct any queries to the linux-thinkpad mailing list: http://lists.suspend2.net/mailman/listinfo/suspend2-users/" pkg_postinst() { kernel-2_pkg_postinst einfo "For more info on this patchset, and how to report problems, see:" einfo "${HOMEPAGE}" }