summaryrefslogtreecommitdiff
blob: bfe0374149f5880e8e72d5ddf41a83bd8976867d (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

inherit toolchain-funcs

DESCRIPTION="DVI file utilities: dvibook, dviconcat, dvitodvi, and dviselect"
HOMEPAGE="http://www.ctan.org/tex-archive/dviware/dvibook/"
# Taken from: ftp://tug.ctan.org/tex-archive/dviware/${PN}.tar.gz
SRC_URI="mirror://gentoo/${P}.tar.gz"

LICENSE="dvibook"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""

DEPEND="x11-misc/imake
	x11-misc/gccmakedep
	app-text/rman"
RDEPEND=""

S="${WORKDIR}/${PN}"

PATCHES=(
	"${FILESDIR}/${P}.patch"
)

src_compile() {
	xmkmf -a || die "xmkmf failed"
	emake CC="$(tc-getCC)"
}

src_install() {
	emake DESTDIR="${D}" install install.man
	dodoc README
}