# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="PCMCIA userspace utilities for Linux kernel 2.6.x and beyond" HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/" SRC_URI="mirror://kernel/linux/utils/kernel/pcmcia/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=sys-fs/sysfsutils-1.2.0-r1" # Run-time dependencies, same as DEPEND if RDEPEND isn't defined: RDEPEND=">=sys-fs/sysfsutils-1.2.0-r1 >=sys-apps/module-init-tools-3.2_pre1-r1 >=sys-apps/hotplug-20040920 >=sys-apps/coldplug-20040920" src_compile() { make || die "emake failed" } src_install() { export DESTDIR=${D} make install || die dodoc COPYING } pkg_postinst() { ewarn "If you relied on pcmcia-cs to automatically load the" ewarn "appropriate PCMCIA-related modules upon boot, you need" ewarn "to add " ewarn " pcmcia" ewarn "and the PCMCIA socket driver you need for this system" ewarn "(yenta-socket, i82092, i82365, ...) to" ewarn "/etc/modules.autoload.d/kernel-2.6" einfo "" einfo "Also, you should disable pcmcia-cs from starting in" einfo "future:" einfo "# rc-update del pcmcia" }