summaryrefslogtreecommitdiff
blob: a4f76adaef84a36481f25d62a17300c5a51e01e1 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/chktex/chktex-1.5-r2.ebuild,v 1.9 2002/10/20 18:40:56 vapier Exp $

S=${WORKDIR}/${P}
SRC_URI="http://www.ibiblio.org/pub/linux/distributions/gentoo/${P}.tar.gz"
HOMEPAGE="http://www.nongnu.org/chktex/"
SLOT="0"
DESCRIPTION="Checks latex source for common mistakes"
DEPEND="app-text/tetex
	sys-devel/perl
	sys-apps/groff
	app-text/latex2html"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc sparc64"

src_compile() {
	myconf="--prefix=/usr --host=${CHOST}"
	[ -n "$DEBUG" ] && myconf="$myconf --enable-debug-info" || myconf="$myconf --disable-debug-info"
	econf ${myconf} || die
	emake || die
}

src_install () {
	einstall || die
	dodoc COPYING SCOPTIONS
}