summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-doc/linux-device-drivers/files/digest-linux-device-drivers-21
-rw-r--r--app-doc/linux-device-drivers/linux-device-drivers-2.ebuild9
2 files changed, 7 insertions, 3 deletions
diff --git a/app-doc/linux-device-drivers/files/digest-linux-device-drivers-2 b/app-doc/linux-device-drivers/files/digest-linux-device-drivers-2
index c70145f14292..bd1247ed2a17 100644
--- a/app-doc/linux-device-drivers/files/digest-linux-device-drivers-2
+++ b/app-doc/linux-device-drivers/files/digest-linux-device-drivers-2
@@ -1 +1,2 @@
MD5 8129bc29aa3b3ccf415eccbd26d87f72 ldd_book_pdf.zip 6971754
+MD5 3a2e8345e66bd4b16250f9d076f1cf9d ldd2-samples-1.0.1.tar.gz 123791
diff --git a/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild b/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild
index ba26ebf9b1d0..9d0c3a0a26ec 100644
--- a/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild
+++ b/app-doc/linux-device-drivers/linux-device-drivers-2.ebuild
@@ -1,10 +1,11 @@
# 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.2 2005/02/19 19:11:57 vapier Exp $
+# $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"
+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"
@@ -17,5 +18,7 @@ RDEPEND=""
S=${WORKDIR}
src_install() {
- dodoc *.pdf || die
+ dodoc *.pdf || die "pdfs"
+ insinto /usr/share/doc/${PF}/samples
+ doins -r ldd2-samples-*/* || die "samples"
}