summaryrefslogtreecommitdiff
blob: 342ba4da98d4ab6b1e45b536402998874e0ca476 (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
# Copyright 2003 Arcady Genkin <agenkin@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/tclxml-2.5.ebuild,v 1.4 2003/08/07 03:21:11 vapier Exp $

DESCRIPTION="Pure Tcl implementation of an XML parser."
HOMEPAGE="http://tclxml.sourceforge.net/"
SRC_URI="mirror://sourceforge/tclxml/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="-x86"
# Setting to -x86 because can't compile the expat porsion (tclxml-expat).
# Use 2.4 for now.

DEPEND=">=dev-lang/tcl-8.3.3"

src_compile() {
	econf || die
	make || die

        # Need to hack the config script.
        sed 's:NONE:/usr:' < TclxmlConfig.sh > TclxmlConfig.sh.hacked
        mv TclxmlConfig.sh.hacked TclxmlConfig.sh
}

src_install() {
        einstall || die
        dodoc ChangeLog LICENSE README RELNOTES
}