diff options
Diffstat (limited to 'app-doc/linux-device-drivers/linux-device-drivers-3.ebuild')
-rw-r--r-- | app-doc/linux-device-drivers/linux-device-drivers-3.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-doc/linux-device-drivers/linux-device-drivers-3.ebuild b/app-doc/linux-device-drivers/linux-device-drivers-3.ebuild new file mode 100644 index 000000000000..bb2198f12426 --- /dev/null +++ b/app-doc/linux-device-drivers/linux-device-drivers-3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="howto write linux device drivers (updated for Linux 2.6)" +HOMEPAGE="http://www.oreilly.com/catalog/linuxdrive3/ http://lwn.net/Kernel/LDD3/" +SRC_URI="http://lwn.net/images/pdf/LDD3/ldd3_pdf.tar.bz2 + mirror://gentoo/LDD3-examples.tar.gz" +# original URL is this: +# http://examples.oreilly.com/linuxdrive3/examples.tar.gz +# but 'examples.tar.gz' is waaaaaay too generic + +LICENSE="CC-BY-SA-2.0" +SLOT="3" +KEYWORDS="amd64 arm hppa ia64 ppc s390 sh x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR} + +src_install() { + insinto /usr/share/doc/${PF} + doins ldd3_pdf/*.pdf + insinto /usr/share/doc/${PF}/examples + doins -r examples/* +} |