Diff linux-device-drivers-2-r1 with a linux-device-drivers-3-r1

/usr/portage/app-doc/linux-device-drivers/linux-device-drivers-3-r1.ebuild 2023-10-09 14:52:28.268368319 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
EGIT_COMMIT="9780596000080"
7
MY_PN="ldd2-samples"
8
MY_PV="1.0.1"
6
EGIT_COMMIT="9780596005900"
9 7

  
10
DESCRIPTION="Howto write linux device drivers (updated for Linux 2.4)"
11
HOMEPAGE="https://www.oreilly.com/catalog/linuxdrive2/"
8
DESCRIPTION="Howto write linux device drivers (updated for Linux 2.6)"
9
HOMEPAGE="
10
	https://www.oreilly.com/catalog/linuxdrive3/
11
	https://lwn.net/Kernel/LDD3/
12
"
12 13
SRC_URI="
13
	https://resources.oreilly.com/examples/${EGIT_COMMIT}/-/blob/master/${MY_PN}-${MY_PV}.tar.gz
14
	https://www.xml.com/ldd/chapter/book/pdf/ldd_book_pdf.zip
14
	https://resources.oreilly.com/examples/${EGIT_COMMIT}/-/blob/master/examples.tar.gz -> LDD3-examples.tar.gz
15
	https://lwn.net/images/pdf/LDD3/ldd3_pdf.tar.bz2
15 16
"
16 17
S="${WORKDIR}"
17 18

  
18
LICENSE="FDL-1.1"
19
SLOT="2"
20
KEYWORDS="amd64 arm hppa ~ia64 ppc ~s390 x86"
21

  
22
BDEPEND="app-arch/unzip"
19
LICENSE="CC-BY-SA-2.0"
20
SLOT="3"
21
KEYWORDS="amd64 arm hppa ~ia64 ppc ~riscv ~s390 x86"
23 22

  
24 23
src_install() {
25
	dodoc *.pdf
26
	docinto samples
27
	dodoc -r ldd2-samples-*/.
24
	dodoc ldd3_pdf/*.pdf
25
	dodoc -r examples
28 26
	docompress -x /usr/share/doc/${PF}
29 27
}
Thank you!