summaryrefslogtreecommitdiff
blob: e11be61362c1b7e977775fe661e339b21dd52d0c (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-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.7 2002/10/04 05:03:29 vapier Exp $

S=${WORKDIR}/${P}
SRC_URI="http://www.ibiblio.org/pub/linux/distributions/gentoo/${P}.tar.gz"
HOMEPAGE="http://www.ifi.uio.no/~jensthi/chktex/ChkTeX.html"
SLOT="0"
DESCRIPTION="Checks latex source for common mistakes"
DEPEND="app-text/tetex
	sys-devel/perl
	sys-apps/groff
	app-text/latex2html"
RDEPEND="${DEPEND}"
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
}