summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/linux-device-drivers/linux-device-drivers-2.ebuild')
-rw-r--r--app-doc/linux-device-drivers/linux-device-drivers-2.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild b/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild
new file mode 100644
index 000000000000..bde37f6cecf8
--- /dev/null
+++ b/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ppc s390 x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_install() {
+ insinto /usr/share/doc/${PF}
+ doins *.pdf || die "pdfs"
+ insinto /usr/share/doc/${PF}/samples
+ doins -r ldd2-samples-*/* || die "samples"
+}