blob: 92492741c07f03bf1b9d1791b4e74ebbb73676ad (
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
49
50
51
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.13.ebuild,v 1.1 2009/09/17 13:36:42 arfrever Exp $
EAPI="2"
DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML"
HOMEPAGE="http://www.aleksey.com/xmlsec"
SRC_URI="http://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="gnutls mozilla ssl"
RDEPEND=">=dev-libs/libxml2-2.7.4
>=dev-libs/libxslt-1.0.20
gnutls? ( >=net-libs/gnutls-0.8.1 )
mozilla? ( >=dev-libs/nspr-4.0
>=dev-libs/nss-3.2 )
ssl? ( >=dev-libs/openssl-0.9.7 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S="${WORKDIR}/${PN}1-${PV}"
#src_prepare() {
# eautoreconf
# append-cppflags '-DLTDL_OBJDIR=\".libs\"' '-DLTDL_SHLIB_EXT=\".so\"'
#}
src_configure() {
local myconf
use gnutls || myconf="--without-gnutls"
econf \
--enable-pkgconfig \
--enable-xkms \
$(use_enable ssl aes) \
$(use_with ssl openssl /usr) \
--with-html-dir=/usr/share/doc/${PF} \
${myconf}
}
src_test() {
TMPFOLDER="${T}" emake check || die "emake check failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS README NEWS || die "dodoc failed"
}
|