You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-doc/linkers-and-loaders/linkers-and-loaders-1.ebuild

26 lines
562 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
DESCRIPTION="the Linkers and Loaders book"
HOMEPAGE="http://linker.iecc.com/"
SRC_URI="http://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"
RDEPEND=""
DEPEND="app-arch/xz-utils"
S=${WORKDIR}
src_install() {
dohtml *.html *.jpg
dodoc *.pdf
use doc && dodoc *.txt *.rtf
}