diff options
author | Hanno Böck <hanno@gentoo.org> | 2007-01-17 04:42:18 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2007-01-17 04:42:18 +0000 |
commit | 62bc33eac618c1020a97e56a9625e065e60c10ee (patch) | |
tree | fe62e3aff50042bf6129ada133315c30f801bc1d /sys-libs | |
parent | gwenhywfar version bump (diff) | |
download | gentoo-2-62bc33eac618c1020a97e56a9625e065e60c10ee.tar.gz gentoo-2-62bc33eac618c1020a97e56a9625e065e60c10ee.tar.bz2 gentoo-2-62bc33eac618c1020a97e56a9625e065e60c10ee.zip |
libchipcard 3 ebuild
(Portage version: 2.1.2)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libchipcard/ChangeLog | 10 | ||||
-rwxr-xr-x | sys-libs/libchipcard/files/chipcardd3 | 16 | ||||
-rw-r--r-- | sys-libs/libchipcard/files/digest-libchipcard-3.0.2 | 3 | ||||
-rw-r--r-- | sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild | 12 | ||||
-rw-r--r-- | sys-libs/libchipcard/libchipcard-3.0.2.ebuild | 49 |
5 files changed, 82 insertions, 8 deletions
diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index f178564e7563..c7a679fcd053 100644 --- a/sys-libs/libchipcard/ChangeLog +++ b/sys-libs/libchipcard/ChangeLog @@ -1,6 +1,12 @@ # 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.47 2006/12/22 21:08:55 mabi Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.48 2007/01/17 04:42:18 hanno Exp $ + +*libchipcard-3.0.2 (17 Jan 2007) + + 17 Jan 2007; Hanno Boeck <hanno@gentoo.org> +files/chipcardd3, + +libchipcard-3.0.2.ebuild: + Add first libchipcard 3 ebuild. 22 Dec 2006; Matti Bickel <mabi@gentoo.org> libchipcard-2.1.8.ebuild: ppc stable (bug #149970) diff --git a/sys-libs/libchipcard/files/chipcardd3 b/sys-libs/libchipcard/files/chipcardd3 new file mode 100755 index 000000000000..0e584ec21ff7 --- /dev/null +++ b/sys-libs/libchipcard/files/chipcardd3 @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/files/chipcardd3,v 1.1 2007/01/17 04:42:18 hanno Exp $ + +start() { + ebegin "Starting chipcard3 daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/chipcardd3 + eend $? +} + +stop() { + ebegin "Stopping chipcard2 daemon" + start-stop-daemon --stop --quiet --exec /usr/sbin/chipcardd3 + eend $? +} diff --git a/sys-libs/libchipcard/files/digest-libchipcard-3.0.2 b/sys-libs/libchipcard/files/digest-libchipcard-3.0.2 new file mode 100644 index 000000000000..460d52a73d13 --- /dev/null +++ b/sys-libs/libchipcard/files/digest-libchipcard-3.0.2 @@ -0,0 +1,3 @@ +MD5 bfd73858d874516b6cdba94cd5821841 libchipcard3-3.0.2.tar.gz 987680 +RMD160 776b4309d9be87bdd7655a4e7d4d0cc5b7a94eb7 libchipcard3-3.0.2.tar.gz 987680 +SHA256 0ad5b3d980398fa96756b056a96ae3107f851cdde9157bbe2eddca448faa2b27 libchipcard3-3.0.2.tar.gz 987680 diff --git a/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild b/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild index d631713fbab2..8afd649e5779 100644 --- a/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild +++ b/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild,v 1.12 2005/07/10 01:00:09 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-0.9.1-r1.ebuild,v 1.13 2007/01/17 04:42:18 hanno Exp $ DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." SRC_URI="mirror://sourceforge/libchipcard/${P}.tar.gz" @@ -16,10 +16,10 @@ DEPEND="virtual/libc src_compile() { sed -i -e 's:$prefix/etc:/etc:g' \ - -e 's:${prefix}/etc:/etc:g' \ - -e 's:$prefix/var:/var:g' \ - -e 's:${prefix}/var:/var:g' \ - configure + -e 's:${prefix}/etc:/etc:g' \ + -e 's:$prefix/var:/var:g' \ + -e 's:${prefix}/var:/var:g' \ + configure local myconf myconf="--disable-pcsc" diff --git a/sys-libs/libchipcard/libchipcard-3.0.2.ebuild b/sys-libs/libchipcard/libchipcard-3.0.2.ebuild new file mode 100644 index 000000000000..6a8b4b0e9b49 --- /dev/null +++ b/sys-libs/libchipcard/libchipcard-3.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-3.0.2.ebuild,v 1.1 2007/01/17 04:42:18 hanno Exp $ + +MY_P="${PN}3-${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="3" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +IUSE="debug doc ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-2.5.1 + 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/chipcard3-server \ + --localstatedir=/var \ + --enable-pcsc || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + keepdir /var/log/chipcard3 \ + /var/lib/chipcard3/newcerts \ + /usr/lib/chipcard3-server/lowlevel + + doinitd ${FILESDIR}/chipcardd3 + + dodoc AUTHORS ChangeLog README doc/CERTIFICATES doc/CONFIG doc/IPCCOMMANDS + if use doc ; then + docinto tutorials + dodoc tutorials/*.{c,h,xml} tutorials/README + fi +} |