summaryrefslogtreecommitdiff
blob: bc0b5e58da5afd5766375343c902abae826cb742 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-1.95.7.ebuild,v 1.14 2004/07/02 04:40:12 eradicator Exp $

inherit gnuconfig

DESCRIPTION="XML parsing libraries"
HOMEPAGE="http://expat.sourceforge.net/"
SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~mips alpha arm ~hppa amd64 ~ia64 ppc64 s390"
IUSE=""

DEPEND="virtual/libc"

src_compile() {
	# Detect mips systems properly
	use mips && gnuconfig_update

	econf || die "econf failed"
	emake || die
}

src_install() {
	einstall mandir=${D}/usr/share/man/man1 || die
	dodoc Changes README
	dohtml doc/
}