summaryrefslogtreecommitdiff
blob: d7b1e7fc6d16fea22bd55d5e4acaccc2e26d40f0 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/chktex/chktex-1.6.2.ebuild,v 1.6 2007/10/14 21:44:03 aballier Exp $

DESCRIPTION="Checks latex source for common mistakes"
HOMEPAGE="http://www.nongnu.org/chktex/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
# The ebuild relies on the appropriate tarball on the gentoo mirrors:
# If not yet available, do the following:
# - Download from ftp://ftp.dante.de/tex-archive/support/chktex.tar.gz
# - move the tarball to /usr/portage/distfiles/chktex-1.6.2.tar.gz

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha amd64"
IUSE="debug"

DEPEND="virtual/latex-base
	dev-lang/perl
	sys-apps/groff
	dev-tex/latex2html"

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

src_compile() {
	chmod +x configure || die "change configure script permission failed"
	econf `use_enable debug debug-info` || die
	emake || die
}

src_install() {
	einstall || die
	dodoc SCOPTIONS
}