blob: 5b23c4728c784d9e1ba943e333276e2d6c2fbe0a (
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
26
27
28
29
30
31
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/linkers-and-loaders/linkers-and-loaders-0.ebuild,v 1.3 2007/07/02 13:43:08 peper Exp $
CH="|00e |01e |02e |03e |04e |05e |06e |07e |08e |09e |10e |11e |12e"
DESCRIPTION="the Linkers and Loaders book"
HOMEPAGE="http://www.iecc.com/linker/"
SRC_URI="doc? ( ${CH//e/.txt} ${CH//e/.rtf} ) ${CH//e/.html}"
SRC_URI="${SRC_URI//|/${HOMEPAGE}linker}"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sh sparc x86"
IUSE="doc"
RESTRICT="mirror"
DEPEND=""
S="${WORKDIR}"
src_unpack() {
local f
for f in ${A} ; do
cp "${DISTDIR}"/${f} . || die "copying ${f}"
done
}
src_install() {
dohtml *.html || die
use doc && dodoc *.txt *.rtf
}
|