summaryrefslogtreecommitdiff
blob: e12b6e9e8b57dee4b607ce6f9f87f181f678dc74 (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
35
36
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-text/chktex/chktex-1.5-r2.ebuild,v 1.4 2002/08/06 14:56:03 gerk 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/ld.so
	sys-devel/perl
	sys-apps/groff
	app-text/latex2html"

LICENSE="GPL-2"
KEYWORDS="x86 ppc"
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

}