summaryrefslogtreecommitdiff
blob: 4eccf0c97fa8a9f32839f700fd98eb3fa075a1dd (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
32
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

DESCRIPTION="GNU Autoconf, Automake and Libtool"
HOMEPAGE="https://sources.redhat.com/autobook/"
SRC_URI="https://sources.redhat.com/autobook/${P}.tar.gz
	examples? (
		https://sources.redhat.com/autobook/foonly-2.0.tar.gz
		https://sources.redhat.com/autobook/small-2.0.tar.gz
		https://sources.redhat.com/autobook/hello-2.0.tar.gz
		https://sources.redhat.com/autobook/convenience-2.0.tar.gz
	)"

LICENSE="OPL"
SLOT="0"
KEYWORDS="amd64 arm hppa ia64 m68k ppc s390 sh x86"
IUSE="examples"

DEPEND=""
RDEPEND=""

src_install() {
	dohtml * || die
	if use examples ; then
		local d
		for d in {convenience,foonly,hello,small}-2.0 ; do
			insinto /usr/share/doc/${PF}/${d}
			doins -r "${WORKDIR}"/${d}/* || die "doins ${d} failed"
		done
	fi
}