summaryrefslogtreecommitdiff
blob: 1f8e11a79cc3bf32ddfcce04d08c5c28e5bf4056 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Apache C++ XML security libraries."
HOMEPAGE="http://santuario.apache.org/"
SRC_URI="http://xml.apache.org/security/dist/c-library/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="xalan"

RDEPEND="=dev-libs/xerces-c-2*
	xalan? ( =dev-libs/xalan-c-1.10* )
	dev-libs/openssl"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_compile () {
	econf $(use_with xalan)
	emake || die "emake failed"
}

src_install(){
	emake DESTDIR="${D}" install || die "emake failed"
}