summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2006-01-17 21:48:54 +0000
committerHanno Böck <hanno@gentoo.org>2006-01-17 21:48:54 +0000
commitae7b8407e7de867c3e3f96d04f5aebb77103fcd0 (patch)
treeefeb96e3dc2cb89c67eb84a580dc12ee9f6dda11 /sys-libs/libchipcard
parentgwenhywfar bump (diff)
downloadgentoo-2-ae7b8407e7de867c3e3f96d04f5aebb77103fcd0.tar.gz
gentoo-2-ae7b8407e7de867c3e3f96d04f5aebb77103fcd0.tar.bz2
gentoo-2-ae7b8407e7de867c3e3f96d04f5aebb77103fcd0.zip
libchipcard bump
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-libs/libchipcard')
-rw-r--r--sys-libs/libchipcard/ChangeLog10
-rw-r--r--sys-libs/libchipcard/files/digest-libchipcard-1.9.19_beta1
-rw-r--r--sys-libs/libchipcard/libchipcard-1.9.19_beta.ebuild56
3 files changed, 65 insertions, 2 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog
index 8a4f091df457..1e7f0bbdd631 100644
--- a/sys-libs/libchipcard/ChangeLog
+++ b/sys-libs/libchipcard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libchipcard
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.31 2005/12/24 15:52:45 hansmi Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.32 2006/01/17 21:48:54 hanno Exp $
+
+*libchipcard-1.9.19_beta (17 Jan 2006)
+
+ 17 Jan 2006; Hanno Boeck <hanno@gentoo.org>
+ +libchipcard-1.9.19_beta.ebuild:
+ Version bump.
24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org>
libchipcard-1.9.15_beta.ebuild:
diff --git a/sys-libs/libchipcard/files/digest-libchipcard-1.9.19_beta b/sys-libs/libchipcard/files/digest-libchipcard-1.9.19_beta
new file mode 100644
index 000000000000..330df5c4235b
--- /dev/null
+++ b/sys-libs/libchipcard/files/digest-libchipcard-1.9.19_beta
@@ -0,0 +1 @@
+MD5 c8f3e08474a893890c4d221288c9e7a6 libchipcard2-1.9.19beta.tar.gz 998588
diff --git a/sys-libs/libchipcard/libchipcard-1.9.19_beta.ebuild b/sys-libs/libchipcard/libchipcard-1.9.19_beta.ebuild
new file mode 100644
index 000000000000..d5c6fb9fcd48
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-1.9.19_beta.ebuild
@@ -0,0 +1,56 @@
+# 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-1.9.19_beta.ebuild,v 1.1 2006/01/17 21:48:54 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 ssl usb"
+
+DEPEND=">=sys-libs/gwenhywfar-1.99.3
+ ssl? ( >=dev-libs/openssl-0.9.6b )
+ usb? ( dev-libs/libusb )
+ >=sys-fs/sysfsutils-1.2.0 "
+
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Fix location of pid file
+ sed -i -e \
+ 's:\${localstatedir}/run/chipcard2:/var/run:g' configure
+}
+
+src_compile() {
+ econf \
+ `use_enable ssl` \
+ `use_enable debug` \
+ `use_enable usb libusb` \
+ --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
+ dodoc INSTALL COPYING AUTHORS ChangeLog README
+ 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
+}