summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2006-09-08 16:34:52 +0000
committerHanno Boeck <hanno@gentoo.org>2006-09-08 16:34:52 +0000
commit836e7f2f3e7401c1e0919f8f33a83d2656b6ada2 (patch)
treed6e143d1bc8c250e6f62149d0aecedc2ed0e0205 /sys-libs/libchipcard/libchipcard-2.1.8.ebuild
parentfixed up utils finding wrong gcc, missed some gcc->gnatgcc conversions first ... (diff)
downloadhistorical-836e7f2f3e7401c1e0919f8f33a83d2656b6ada2.tar.gz
historical-836e7f2f3e7401c1e0919f8f33a83d2656b6ada2.tar.bz2
historical-836e7f2f3e7401c1e0919f8f33a83d2656b6ada2.zip
libchipcard bump
Package-Manager: portage-2.1.1_rc1-r7
Diffstat (limited to 'sys-libs/libchipcard/libchipcard-2.1.8.ebuild')
-rw-r--r--sys-libs/libchipcard/libchipcard-2.1.8.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-libs/libchipcard/libchipcard-2.1.8.ebuild b/sys-libs/libchipcard/libchipcard-2.1.8.ebuild
new file mode 100644
index 000000000000..a9a38b72951e
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-2.1.8.ebuild
@@ -0,0 +1,47 @@
+# 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.8.ebuild,v 1.1 2006/09/08 16:34:52 hanno Exp $
+
+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.4.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
+
+ keepdir /var/log/chipcard2 \
+ /var/lib/chipcard2/newcerts \
+ /usr/lib/chipcard2-server/lowlevel
+
+ dodoc AUTHORS ChangeLog README doc/CERTIFICATES doc/CONFIG doc/IPCCOMMANDS
+ if use doc ; then
+ docinto tutorials
+ dodoc tutorials/*.{c,h,xml} tutorials/README
+ fi
+}