OLD | NEW |
(Empty) | |
| 1 # Copyright 1999-2011 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.7.ebuild,v 1.8 201
1/04/03 22:29:33 flameeyes Exp $ |
| 4 |
| 5 EAPI="2" |
| 6 |
| 7 DESCRIPTION="A library implementing a layer on top of PKCS#11 API to make using
PKCS#11 implementations easier." |
| 8 HOMEPAGE="http://www.opensc-project.org/libp11/" |
| 9 |
| 10 if [[ "${PV}" = "9999" ]]; then |
| 11 inherit autotools subversion |
| 12 ESVN_REPO_URI="http://www.opensc-project.org/svn/${PN}/trunk" |
| 13 else |
| 14 SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz" |
| 15 fi |
| 16 |
| 17 LICENSE="LGPL-2.1" |
| 18 SLOT="0" |
| 19 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" |
| 20 IUSE="doc" |
| 21 |
| 22 # libtool is required at runtime as it uses libltdl. |
| 23 RDEPEND="dev-libs/openssl |
| 24 sys-devel/libtool" |
| 25 DEPEND="${RDEPEND} |
| 26 dev-util/pkgconfig |
| 27 doc? ( app-doc/doxygen )" |
| 28 |
| 29 if [[ "${PV}" = "9999" ]]; then |
| 30 DEPEND="${DEPEND} |
| 31 app-text/docbook-xsl-stylesheets |
| 32 dev-libs/libxslt" |
| 33 |
| 34 src_prepare() { |
| 35 eautoreconf |
| 36 } |
| 37 fi |
| 38 |
| 39 src_configure() { |
| 40 econf \ |
| 41 --docdir="/usr/share/doc/${PF}" \ |
| 42 --htmldir="/usr/share/doc/${PF}/html" \ |
| 43 $(use_enable doc) \ |
| 44 $(use_enable doc api-doc) |
| 45 } |
| 46 |
| 47 src_install() { |
| 48 emake install DESTDIR="${D}" || die "emake install failed" |
| 49 } |
OLD | NEW |