From c1c04686c26ea80338d7d410a57694fbfed7bed2 Mon Sep 17 00:00:00 2001 From: Hanno Boeck Date: Fri, 16 Jun 2006 04:20:56 +0000 Subject: [PATCH] libchipcard version bump Package-Manager: portage-2.1 --- sys-libs/libchipcard/ChangeLog | 7 ++- .../files/digest-libchipcard-2.1.6 | 3 ++ sys-libs/libchipcard/libchipcard-2.1.6.ebuild | 54 +++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 sys-libs/libchipcard/files/digest-libchipcard-2.1.6 create mode 100644 sys-libs/libchipcard/libchipcard-2.1.6.ebuild diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index 4af4edae8bcb..4f75db244432 100644 --- a/sys-libs/libchipcard/ChangeLog +++ b/sys-libs/libchipcard/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libchipcard # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.38 2006/06/14 15:05:32 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.39 2006/06/16 04:20:56 hanno Exp $ + +*libchipcard-2.1.6 (16 Jun 2006) + + 16 Jun 2006; Hanno Boeck +libchipcard-2.1.6.ebuild: + Version bump. *libchipcard-2.1.4 (14 Jun 2006) diff --git a/sys-libs/libchipcard/files/digest-libchipcard-2.1.6 b/sys-libs/libchipcard/files/digest-libchipcard-2.1.6 new file mode 100644 index 000000000000..90c04490599d --- /dev/null +++ b/sys-libs/libchipcard/files/digest-libchipcard-2.1.6 @@ -0,0 +1,3 @@ +MD5 e5d91f16729df5be310fdafb57ded6d9 libchipcard2-2.1.6.tar.gz 1021172 +RMD160 2acda377b642f49bea92f297aa91396c7afa2dbc libchipcard2-2.1.6.tar.gz 1021172 +SHA256 6d5a429c460b4d497e55351f80317e25de3889693b223b8456f17e5b96500075 libchipcard2-2.1.6.tar.gz 1021172 diff --git a/sys-libs/libchipcard/libchipcard-2.1.6.ebuild b/sys-libs/libchipcard/libchipcard-2.1.6.ebuild new file mode 100644 index 000000000000..a3b7e968475a --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-2.1.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-2.1.6.ebuild,v 1.1 2006/06/16 04:20:56 hanno Exp $ + +inherit eutils + +MY_P="${PN}2-${PV}" +DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." +HOMEPAGE="http://www.libchipcard.de" +SRC_URI="mirror://sourceforge/libchipcard/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +IUSE="debug doc ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-2.3.0 + ssl? ( >=dev-libs/openssl-0.9.6b ) + usb? ( dev-libs/libusb ) + >=sys-fs/sysfsutils-1.2.0" + + +S=${WORKDIR}/${MY_P} + +src_compile() { + econf \ + `use_enable ssl` \ + `use_enable debug` \ + `use_enable usb libusb` \ + --datadir=/usr/lib/chipcard2-server \ + --localstatedir=/var \ + --enable-pcsc || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + # ctapi.h conflicts with towitoko-package + rm ${D}/usr/include/ctapi.h + + doinitd ${FILESDIR}/chipcardd2 + cp ${D}/etc/chipcard2-client/chipcardc2.conf.example \ + ${D}/etc/chipcard2-client/chipcardc2.conf + cp ${D}/etc/chipcard2-server/chipcardd2.conf.minimal \ + ${D}/etc/chipcard2-server/chipcardd2.conf + + dodoc AUTHORS ChangeLog README doc/CERTIFICATES doc/CONFIG doc/IPCCOMMANDS + if use doc ; then + docinto tutorials + dodoc tutorials/*.{c,h,xml} tutorials/README + fi +} -- 2.26.2