blob: 30cdad23bfeb4b08eb60e43c90dbd519491bf5c9 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.8.ebuild,v 1.1 2005/06/26 09:55:01 dragonheart Exp $
inherit eutils
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="~x86 ~amd64 ~sparc ~ppc"
IUSE="ssl mozilla gnutls"
DEPEND=">=sys-devel/autoconf-2.2
>=dev-libs/libxml2-2.4.2
>=dev-libs/libxslt-1.0.20
dev-util/pkgconfig
ssl? ( >=dev-libs/openssl-0.9.7 )
gnutls? ( >=net-libs/gnutls-0.8.1 dev-libs/libgcrypt )
mozilla? ( >=dev-libs/nspr-4.0
>=dev-libs/nss-3.2 )"
S=${WORKDIR}/${PN}1-${PV}
src_unpack() {
unpack ${A}
#cd ${S}
#epatch ${FILESDIR}/${PN}-1.2.2-nss-nspr-configure.in.patch
}
src_compile() {
econf --enable-xkms `use_with mozilla nss` `use_with mozilla nspr` \
`use_enable ssl openssl` `use_enable ssl aes` --with-html-dir=/usr/share/doc/${PF} \
|| die "configure failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR=${D} install || die "install failed"
dodoc AUTHORS INSTALL README NEWS
}
|