summaryrefslogtreecommitdiff
blob: 37cd7209e3d29372583e4bad3f0ea3002e2ad0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2020 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
}