summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/linkers-and-loaders/linkers-and-loaders-1-r1.ebuild')
-rw-r--r--app-doc/linkers-and-loaders/linkers-and-loaders-1-r1.ebuild25
1 files changed, 25 insertions, 0 deletions
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
index 000000000000..e22382a94cef
--- /dev/null
+++ b/app-doc/linkers-and-loaders/linkers-and-loaders-1-r1.ebuild
@@ -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
+}