blob: cc58b4334687bb98b8a60aac8edf4d31431801b6 (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="Documentation files for the staden package"
HOMEPAGE="http://sourceforge.net/projects/staden"
SRC_URI="http://sourceforge.net/projects/staden/files/staden/${PV/_beta/b}/staden_doc-${PV/_beta/b}-src.tar.gz"
# https://sourceforge.net/p/staden/code/HEAD/tree/staden/trunk/doc/
LICENSE="staden"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="dev-lang/perl
app-text/texlive
app-text/texi2html"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/staden_doc-${PV/_beta/b}-src
# do not use texi2html-5 because it fails with:
# texi2html -menu -verbose -split_chapter -index_chars interface.htmlinfo
# Unknown option: index_char
# src_prepare(){
# # avoid running bundled texi2html code
# sed -e "s#./tools/texi2html#texi2html#" -i manual/Makefile || die
# }
src_compile(){
cd manual || die
make -j 1 spotless || die
cd .. || die
emake -j 1 unix PAPER=A4
}
src_install(){
emake -j 1 install prefix="${D}"/usr
dodoc gkb547_gml.pdf
}
|