app-doc/linkers-and-loaders: EAPI=7 update
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Mon, 6 May 2019 18:09:27 +0000 (20:09 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 19 May 2019 00:37:08 +0000 (10:37 +1000)
Closes: https://bugs.gentoo.org/685216
Closes: https://github.com/gentoo/gentoo/pull/11920
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
app-doc/linkers-and-loaders/linkers-and-loaders-1-r1.ebuild [new file with mode: 0644]

diff --git a/app-doc/linkers-and-loaders/linkers-and-loaders-1-r1.ebuild b/app-doc/linkers-and-loaders/linkers-and-loaders-1-r1.ebuild
new file mode 100644 (file)
index 0000000..e22382a
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="The Linkers and Loaders book"
+HOMEPAGE="https://linker.iecc.com/"
+SRC_URI="https://wh0rd.org/books/${P}.tar.lzma"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc"
+RESTRICT="mirror bindist"
+
+BDEPEND="app-arch/xz-utils"
+
+S=${WORKDIR}
+
+src_install() {
+       use doc && dodoc *.txt *.rtf
+       dodoc *.pdf
+       docinto html
+       dodoc *.html *.jpg
+}