summaryrefslogtreecommitdiff
blob: 5679bbb9f864c17ede6c9689e1ab5aeb7722f131 (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
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.4.ebuild,v 1.3 2004/02/09 10:19:04 absinthe Exp $

IUSE=""

DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
	mirror://apache/apr/${PN}-util-${PV}.tar.gz"

LICENSE="Apache-1.1"
KEYWORDS="~x86 amd64"
SLOT="0"
S="${WORKDIR}/${P}"
S2="${WORKDIR}/${PN}-util-${PV}"

DEPEND=""

src_compile() {

	econf || die
	emake || die

	cd ${S2}
	econf --with-apr=${S} || die
	emake || die

}

src_install() {

	make DESTDIR=${D} install

	dodoc CHANGES STATUS LICENSE
	dodoc docs/{doxygen.conf,incomplete_types,non_apr_programs}
	dohtml docs/*.html

	cd ${S2}
	make DESTDIR=${D} install

	newdoc CHANGES CHANGES.apr-util
	newdoc STATUS STATUS.apr-util


	rm -rf ${D}/usr/share/build

}