blob: a6a8ddd814e294246ab4e1e82fa6034e723d715c (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
DESCRIPTION="Flexible wrapper around debootstrap"
HOMEPAGE="https://github.com/grml/grml-debootstrap"
SRC_URI="https://github.com/grml/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="
app-text/asciidoc
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
"
RDEPEND="
app-emulation/qemu
app-shells/mksh
dev-util/dialog
dev-util/debootstrap
sys-block/parted
sys-apps/debian-archive-keyring
"
src_compile() {
emake DOCBOOK_XML=/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl doc_man
use doc && emake doc_html
}
src_install() {
emake DESTDIR="${D}" install
dodoc TODO
doman ${PN}.8
# Some doc on top
use doc && {
dodoc grml-debootstrap.8.html
insinto /usr/share/doc/${PF}/
doins -r images
}
dodoc debian/changelog
}
|