diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-12 23:48:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-12 23:48:25 +0000 |
commit | 7f1da99e89f73d9c9d9f60392d4e9bdba560a0ff (patch) | |
tree | 70481da9cf234491c81fb0814659ff320286325d /dev-libs | |
parent | update HOMEPAGE (diff) | |
download | gentoo-2-7f1da99e89f73d9c9d9f60392d4e9bdba560a0ff.tar.gz gentoo-2-7f1da99e89f73d9c9d9f60392d4e9bdba560a0ff.tar.bz2 gentoo-2-7f1da99e89f73d9c9d9f60392d4e9bdba560a0ff.zip |
build against pcsclite or openct #44345
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/opensc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/opensc/opensc-0.8.1.ebuild | 15 |
2 files changed, 13 insertions, 7 deletions
diff --git a/dev-libs/opensc/ChangeLog b/dev-libs/opensc/ChangeLog index 865ae3920859..4b817d967e9e 100644 --- a/dev-libs/opensc/ChangeLog +++ b/dev-libs/opensc/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for dev-libs/opensc # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.1 2004/02/22 07:17:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.2 2004/03/12 23:48:25 vapier Exp $ *opensc-0.8.1 (22 Feb 2004) + 12 Mar 2004; Mike Frysinger <vapier@gentoo.org> : + Add local USE to control building with pcsclite or openct #44345 by jochen. + 22 Feb 2004; Mike Frysinger <vapier@gentoo.org> : Initial import. Ebuild submitted by Lars T. Mikkelsen/Peter Stuge #28202. diff --git a/dev-libs/opensc/opensc-0.8.1.ebuild b/dev-libs/opensc/opensc-0.8.1.ebuild index 2fa7df5f206f..fa911e9231db 100644 --- a/dev-libs/opensc/opensc-0.8.1.ebuild +++ b/dev-libs/opensc/opensc-0.8.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.8.1.ebuild,v 1.2 2004/02/25 04:03:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.8.1.ebuild,v 1.3 2004/03/12 23:48:25 vapier Exp $ DESCRIPTION="SmartCard library and applications" HOMEPAGE="http://www.opensc.org/" @@ -9,22 +9,25 @@ SRC_URI="http://www.opensc.org/files/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="x86" -IUSE="ldap pam" +IUSE="ldap pam pcsc-lite" RDEPEND="ldap? ( net-nds/openldap ) pam? ( >=sys-libs/pam-0.77 >=sys-apps/shadow-4.0.3 ) - >=dev-libs/openct-0.5.0" + pcsc-lite? ( sys-apps/pcsc-lite ) : ( >=dev-libs/openct-0.5.0 )" src_compile() { + local mycard="" + use pcsc-lite \ + && mycard="--with-pcsclite" \ + || mycard="--with-openct=/usr" econf \ --disable-usbtoken \ - --with-openct=/usr \ - --without-pcsclite \ --without-plugin-dir \ `use_enable ldap` \ `use_with pam` \ - ${myconf} || die + ${mycard} \ + || die emake -j1 || die } |