summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-09-26 16:04:21 +0000
committerHanno Böck <hanno@gentoo.org>2005-09-26 16:04:21 +0000
commit7532eec439d80dc11a0898d4e3e6e479028235d1 (patch)
treea0c21fc0b930713f996e2601b0288b558a47c482 /sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild
parentFix broken rails from 1.8.3 Ruby upgrade - Bug #107099 (diff)
downloadgentoo-2-7532eec439d80dc11a0898d4e3e6e479028235d1.tar.gz
gentoo-2-7532eec439d80dc11a0898d4e3e6e479028235d1.tar.bz2
gentoo-2-7532eec439d80dc11a0898d4e3e6e479028235d1.zip
libchipcard version bump
(Portage version: 2.0.52-r1)
Diffstat (limited to 'sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild')
-rw-r--r--sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild b/sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild
new file mode 100644
index 000000000000..269e85deb7b4
--- /dev/null
+++ b/sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-1.9.15_beta.ebuild,v 1.1 2005/09/26 16:04:21 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.17.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` \
+ --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
+}