dev-tex/catdvi - 0.14 (gentoo)

Search

Install

Install this version:

emerge -a =dev-tex/catdvi-0.14

Package Information

Description:
DVI to plain text translator
Homepage:
https://catdvi.sourceforge.net
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
0.14 7 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools toolchain-funcs flag-o-matic

DESCRIPTION="DVI to plain text translator"
HOMEPAGE="https://catdvi.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="virtual/tex-base
	dev-libs/kpathsea"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	eapply "${FILESDIR}"/${P}-kpathsea.patch
	eapply_user
	eautoconf
	has_version '>=dev-libs/kpathsea-6.2.1' \
		&& append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
}

src_compile() {
	# Do not use plain emake here, because make tests
	# may cache fonts and generate sandbox violations.
	emake catdvi CC="$(tc-getCC)"
}

src_install() {
	dobin catdvi
	doman catdvi.1
	dodoc AUTHORS ChangeLog NEWS README TODO
}

Inherited Eclasses

Dependencies

DEPEND

virtual/tex-base
	dev-libs/kpathsea

RDEPEND

virtual/tex-base
	dev-libs/kpathsea

BDEPEND

virtual/pkgconfig

Manifest for 0.14

Type File Size Source URLs
DIST catdvi-0.14.tar.gz 160661 bytes https://downloads.sourceforge.net/catdvi/catdvi-0.14.tar.gz