diff options
Diffstat (limited to 'sys-libs/libchipcard')
-rw-r--r-- | sys-libs/libchipcard/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libchipcard/files/digest-libchipcard-1.9.11_beta | 1 | ||||
-rw-r--r-- | sys-libs/libchipcard/libchipcard-1.9.11_beta.ebuild | 52 |
3 files changed, 60 insertions, 1 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index abb289608292..02639ab1a40c 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.22 2005/02/14 19:06:06 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.23 2005/03/13 22:38:12 hanno Exp $ + +*libchipcard-1.9.11_beta (13 Mar 2005) + + 13 Mar 2005; Hanno Boeck <hanno@gentoo.org> + +libchipcard-1.9.11_beta.ebuild: + Version bump. 14 Feb 2005; Simon Stelling <blubb@gentoo.org> libchipcard-1.9.9_beta.ebuild: diff --git a/sys-libs/libchipcard/files/digest-libchipcard-1.9.11_beta b/sys-libs/libchipcard/files/digest-libchipcard-1.9.11_beta new file mode 100644 index 000000000000..b02a8cbdc427 --- /dev/null +++ b/sys-libs/libchipcard/files/digest-libchipcard-1.9.11_beta @@ -0,0 +1 @@ +MD5 8dbc820f1678f69627482841c9bea204 libchipcard2-1.9.11beta.tar.gz 839572 diff --git a/sys-libs/libchipcard/libchipcard-1.9.11_beta.ebuild b/sys-libs/libchipcard/libchipcard-1.9.11_beta.ebuild new file mode 100644 index 000000000000..dd738e6757d7 --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-1.9.11_beta.ebuild @@ -0,0 +1,52 @@ +# 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.11_beta.ebuild,v 1.1 2005/03/13 22:38:12 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="~x86 ~sparc ~alpha ~ppc ~amd64" + +IUSE="debug ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-1.7.2 + ssl? ( >=dev-libs/openssl-0.9.6b ) + usb? ( dev-libs/libusb ) + >=sys-fs/sysfsutils-1.2.0 " + + +S=${WORKDIR}/${MY_P} + +src_compile() { + + # Fix location of pid file + sed -i -e \ + 's:\${localstatedir}/run/chipcard2:/var/run:g' configure + + 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 +} |