34 lines
787 B
Bash
34 lines
787 B
Bash
|
# Copyright 1999-2008 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: $ jdkbx
|
||
|
|
||
|
EAPI=4
|
||
|
|
||
|
inherit eutils libtool autotools flag-o-matic
|
||
|
|
||
|
DESCRIPTION="This is a library for providing access to OpenPlatform 2.0.1' and GlobalPlatform 2.1.1 conforming smart cards."
|
||
|
|
||
|
HOMEPAGE="http://sourceforge.net/projects/globalplatform/"
|
||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="LGPL"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~x86 ~amd64"
|
||
|
IUSE=""
|
||
|
|
||
|
RDEPEND=">=sys-libs/zlib-1.2.3
|
||
|
>=dev-libs/openssl-0.9.7e
|
||
|
sys-apps/pcsc-lite"
|
||
|
DEPEND="${RDEPEND}
|
||
|
dev-util/pkgconfig"
|
||
|
|
||
|
src_compile() {
|
||
|
emake CFLAGS="${CFLAGS} -DOF=_Z_OF" LDFLAGS="$(raw-ldflags)" || die
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake DESTDIR="${D}" install || die
|
||
|
|
||
|
dodoc AUTHORS COPYING COPYING.LESSER NEWS README
|
||
|
}
|