# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="USB and PCI hotplug Next generation" HOMEPAGE="http://lwn.net/Articles/123932/" SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="static" S=${WORKDIR}/${P} src_compile() { if use static then USE_KLIBC=true else USE_KLIBC=false fi export USE_KLIBC emake || die "make failed" } src_install() { make install prefix=${D} || die }