diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-02 14:34:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-02 14:34:49 +0000 |
commit | 633ac9d3b0fed3b7244654c66f10947ceb992aac (patch) | |
tree | 143dbc36891a09f78106a5a53348e2536acd8a89 /dev-libs/opensc | |
parent | Cleanup, latest = stable (Manifest recommit) (diff) | |
download | gentoo-2-633ac9d3b0fed3b7244654c66f10947ceb992aac.tar.gz gentoo-2-633ac9d3b0fed3b7244654c66f10947ceb992aac.tar.bz2 gentoo-2-633ac9d3b0fed3b7244654c66f10947ceb992aac.zip |
Version bump #69702.
Diffstat (limited to 'dev-libs/opensc')
-rw-r--r-- | dev-libs/opensc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/opensc/files/digest-opensc-0.9.4 | 1 | ||||
-rw-r--r-- | dev-libs/opensc/opensc-0.9.4.ebuild | 58 |
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-libs/opensc/ChangeLog b/dev-libs/opensc/ChangeLog index 193ce64c9dc3..bf6ea0215b7e 100644 --- a/dev-libs/opensc/ChangeLog +++ b/dev-libs/opensc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/opensc # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.9 2004/10/13 12:56:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.10 2004/11/02 14:34:49 vapier Exp $ + +*opensc-0.9.4 (02 Nov 2004) + + 02 Nov 2004; Mike Frysinger <vapier@gentoo.org> +opensc-0.9.4.ebuild: + Version bump #69702. *opensc-0.8.1-r1 (13 Oct 2004) diff --git a/dev-libs/opensc/files/digest-opensc-0.9.4 b/dev-libs/opensc/files/digest-opensc-0.9.4 new file mode 100644 index 000000000000..2748842d531e --- /dev/null +++ b/dev-libs/opensc/files/digest-opensc-0.9.4 @@ -0,0 +1 @@ +MD5 76c18fc9bd9fad9c45396ea81f317551 opensc-0.9.4.tar.gz 1000969 diff --git a/dev-libs/opensc/opensc-0.9.4.ebuild b/dev-libs/opensc/opensc-0.9.4.ebuild new file mode 100644 index 000000000000..94ba6fa256bd --- /dev/null +++ b/dev-libs/opensc/opensc-0.9.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.9.4.ebuild,v 1.1 2004/11/02 14:34:49 vapier Exp $ + +inherit eutils + +MY_P=${P/_/-} +DESCRIPTION="SmartCard library and applications" +HOMEPAGE="http://www.opensc.org/" +SRC_URI="http://www.opensc.org/files/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="-*" +IUSE="ldap pam pcsc-lite X" + +RDEPEND="ldap? ( net-nds/openldap ) + pam? ( >=sys-libs/pam-0.77 + >=sys-apps/shadow-4.0.3 ) + X? ( virtual/x11 ) + pcsc-lite? ( sys-apps/pcsc-lite ) + !pcsc-lite? ( >=dev-libs/openct-0.5.0 )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + use X || echo 'all:'$'\n''install:' > src/signer/Makefile.in + epatch ${FILESDIR}/0.8.1-64bit.patch +} + +src_compile() { + local mycard="" + use pcsc-lite \ + && mycard="--with-pcsclite" \ + || mycard="--with-openct=/usr" + econf \ + --disable-usbtoken \ + --without-plugin-dir \ + `use_enable ldap` \ + `use_with pam` \ + ${mycard} \ + || die + emake -j1 || die +} + +src_install() { + make install DESTDIR=${D} || die + + if use pam ; then + dodir /lib/security/ + dosym ../../usr/lib/security/pam_opensc.so /lib/security/ + fi + + dodoc ANNOUNCE AUTHORS ChangeLog NEWS README + dohtml docs/opensc.{html,css} +} |