blob: b16eb63567076f76a3c811e1a57951c1117b47db (
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
37
38
|
# 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-r1.ebuild,v 1.5 2002/08/16 02:42:01 murphy 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"
LICENSE="GPL-2"
DESCRIPTION="Checks latex source for common mistakes"
DEPEND="app-text/tetex
virtual/glibc
sys-devel/ld.so
sys-devel/perl
sys-apps/groff
app-text/latex2html"
KEYWORDS="x86 ppc sparc sparc64"
src_compile() {
myconf="--prefix=/usr --host=${CHOST}"
[ -n "$DEBUG" ] && myconf="$myconf --enable-debug-info" || myconf="$myconf --disable-debug-info"
./configure ${myconf} || die
emake || die
}
src_install () {
make prefix=${D}/usr install || die
}
|