blob: dcd088ff3998385d76b56f81df3694881d5ace42 (
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-2005 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.2 2005/02/11 04:42:58 vapier 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="nomirror"
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
}
|