# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Logitech Quickcam Linux Driver Modules" HOMEPAGE="http://qce-ga.sourceforge.net/" SRC_URI="mirror://sourceforge/qce-ga/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" DEPEND="virtual/linux-sources" RDEPEND="${DEPEND} >=sys-apps/portage-1.9.10" S="${WORKDIR}/${P}" src_compile() { # namespace conflict in makefile unset DEBUG emake || die } src_install () { # install the driver in the right palce insinto "/lib/modules/${KV}/misc" doins mod_quickcam.o # install the READMEs and License dodoc README License } pkg_postinst() { if [ "${ROOT}" = "/" ] then depmod -ae fi }