| 1 |
mschiff |
1.1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/softhsm/softhsm-1.3.2.ebuild,v 1.1 2012/03/20 16:51:56 mschiff Exp $ |
| 4 |
|
|
|
| 5 |
|
|
EAPI=4 |
| 6 |
|
|
|
| 7 |
|
|
DESCRIPTION="A software PKCS#11 implementation" |
| 8 |
|
|
HOMEPAGE="http://www.opendnssec.org/" |
| 9 |
|
|
SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz" |
| 10 |
|
|
|
| 11 |
|
|
KEYWORDS="~amd64 ~x86" |
| 12 |
|
|
IUSE="debug" |
| 13 |
|
|
SLOT="0" |
| 14 |
|
|
LICENSE="BSD" |
| 15 |
|
|
|
| 16 |
|
|
RDEPEND=" |
| 17 |
|
|
dev-db/sqlite:3 |
| 18 |
|
|
>=dev-libs/botan-1.10.1[threads] |
| 19 |
|
|
" |
| 20 |
|
|
DEPEND="${RDEPEND}" |
| 21 |
|
|
|
| 22 |
|
|
DOCS=( AUTHORS NEWS README ) |
| 23 |
|
|
|
| 24 |
|
|
src_configure() { |
| 25 |
|
|
econf \ |
| 26 |
|
|
--disable-static \ |
| 27 |
|
|
--with-botan="${EPREFIX}/usr/" \ |
| 28 |
|
|
$(use_enable amd64 64bit) \ |
| 29 |
|
|
$(use debug && echo "--with-loglevel=4") |
| 30 |
|
|
} |
| 31 |
|
|
|
| 32 |
|
|
src_install() { |
| 33 |
|
|
default |
| 34 |
|
|
find "${ED}" -name '*.la' -delete |
| 35 |
|
|
} |