# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild,v 1.3 2005/03/01 01:15:48 vapier Exp $ DESCRIPTION="howto write linux device drivers (updated for Linux 2.4)" HOMEPAGE="http://www.oreilly.com/catalog/linuxdrive2/" SRC_URI="http://www.xml.com/ldd/chapter/book/pdf/ldd_book_pdf.zip ftp://ftp.oreilly.com/examples/linuxdrive2/ldd2-samples-1.0.1.tar.gz" LICENSE="FDL-1.1" SLOT="2" KEYWORDS="amd64 arm hppa ia64 s390 sh x86" IUSE="" DEPEND="app-arch/unzip" RDEPEND="" S=${WORKDIR} src_install() { dodoc *.pdf || die "pdfs" insinto /usr/share/doc/${PF}/samples doins -r ldd2-samples-*/* || die "samples" }