summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2006-03-26 20:55:55 +0000
committerHanno Böck <hanno@gentoo.org>2006-03-26 20:55:55 +0000
commit6d4825e708592b5d310c5f608cdc890c9dc46737 (patch)
treeebe312878206b4ecc10d96547c2d3558e4acc783 /sys-libs/libchipcard
parentgwenhywfar version bump (diff)
downloadgentoo-2-6d4825e708592b5d310c5f608cdc890c9dc46737.tar.gz
gentoo-2-6d4825e708592b5d310c5f608cdc890c9dc46737.tar.bz2
gentoo-2-6d4825e708592b5d310c5f608cdc890c9dc46737.zip
libchipcard version bump
(Portage version: 2.1_pre7-r1)
Diffstat (limited to 'sys-libs/libchipcard')
-rw-r--r--sys-libs/libchipcard/ChangeLog7
-rw-r--r--sys-libs/libchipcard/files/digest-libchipcard-2.1.33
-rw-r--r--sys-libs/libchipcard/libchipcard-2.1.3.ebuild57
3 files changed, 66 insertions, 1 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog
index 5c7ec02094db..afeac37cd9e2 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.35 2006/03/22 16:20:56 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.36 2006/03/26 20:55:55 hanno Exp $
+
+*libchipcard-2.1.3 (26 Mar 2006)
+
+ 26 Mar 2006; Hanno Boeck <hanno@gentoo.org> +libchipcard-2.1.3.ebuild:
+ Version bump.
*libchipcard-2.1.2 (22 Mar 2006)
diff --git a/sys-libs/libchipcard/files/digest-libchipcard-2.1.3 b/sys-libs/libchipcard/files/digest-libchipcard-2.1.3
new file mode 100644
index 000000000000..f3c05ce27aa3
--- /dev/null
+++ b/sys-libs/libchipcard/files/digest-libchipcard-2.1.3
@@ -0,0 +1,3 @@
+MD5 dd750fb644ea9dba9e0bfa26838ed131 libchipcard2-2.1.3.tar.gz 1022441
+RMD160 73c72a0c576070a9047ed0136711a75c771a7074 libchipcard2-2.1.3.tar.gz 1022441
+SHA256 c5ddf4399d32b0ce5c3c5e46c0856928f24e1476167d11a4f950c20d856565cd libchipcard2-2.1.3.tar.gz 1022441
diff --git a/sys-libs/libchipcard/libchipcard-2.1.3.ebuild b/sys-libs/libchipcard/libchipcard-2.1.3.ebuild
new file mode 100644
index 000000000000..553879cf8e36
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-2.1.3.ebuild
@@ -0,0 +1,57 @@
+# 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.3.ebuild,v 1.1 2006/03/26 20:55:55 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-2.1.0
+ 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` \
+ --datadir=/usr/lib/chipcard2-server \
+ --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
+}