| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libcacard/libcacard-0.1.2.ebuild,v 1.9 2013/01/01 14:03:20 ago Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
DESCRIPTION="Library for emulating CAC cards." |
| 8 |
HOMEPAGE="http://spice-space.org/" |
| 9 |
SRC_URI="http://spice-space.org/download/${PN}/${P}.tar.bz2" |
| 10 |
|
| 11 |
LICENSE="GPL-3" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" |
| 14 |
IUSE="static-libs" |
| 15 |
|
| 16 |
RDEPEND=">=dev-libs/nss-3.13 |
| 17 |
>=sys-apps/pcsc-lite-1.8" |
| 18 |
DEPEND="${RDEPEND} |
| 19 |
virtual/pkgconfig" |
| 20 |
|
| 21 |
src_configure() { |
| 22 |
# --enable-passthru works only on W$ |
| 23 |
econf \ |
| 24 |
$(use_enable static-libs static) |
| 25 |
} |
| 26 |
|
| 27 |
src_install() { |
| 28 |
default |
| 29 |
use static-libs || rm "${D}"/usr/lib*/*.la |
| 30 |
} |