# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/plustek-parallel/plustek-parallel-0.42.9.ebuild,v 1.4 2004/02/16 15:50:34 spock Exp $ IUSE="" inherit eutils DESCRIPTION="Scanner Access Now Easy - Plustek module for parallel port scanners" HOMEPAGE="http://www.gjaeger.de/scanner/plustek.html" DEPEND="=virtual/linux-sources-2.4* >=media-gfx/sane-backends-1.0.8" SRC_URI="http://www.gjaeger.de/scanner/current/plustek-module-0_42_9.tar.gz" S="${WORKDIR}/plustek_driver" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" src_compile() { epatch ${FILESDIR}/${P}.patch make all || die } src_install () { make install || die mkdir -p ${D}etc/modules.d cat >${D}etc/modules.d/pt_drv <