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

EAPI=7

inherit toolchain-funcs

MY_PN=${PN//_/-}
DESCRIPTION="Show hyphenations in DVI files"
HOMEPAGE="https://packages.debian.org/stable/tex/hyphen-show"
SRC_URI="mirror://debian/pool/main/h/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"

LICENSE="GPL-1+"
SLOT="0"
KEYWORDS="amd64 ~ppc64 x86"

S=${WORKDIR}/${MY_PN}-${PV}
PATCHES=("${FILESDIR}"/${PN}-gcc34.patch)

src_compile() {
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} hyphen_show.c -o hyphen_show || die
}

src_install() {
	dobin hyphen_show
	doman hyphen_show.1
	dodoc README.hyphen_show
}