diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-03-23 19:56:09 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-03-23 19:56:09 +0000 |
commit | 898927661a0fde32a221fc816b6dc0d4c76f8a29 (patch) | |
tree | a203e0d405e0c8b2820e03a5a9f73f530de1d5ab /sys-apps/ifd-gempc | |
parent | Changed driver directory to /usr/lib/readers to be consistant with pcsc-slb-r... (diff) | |
download | gentoo-2-898927661a0fde32a221fc816b6dc0d4c76f8a29.tar.gz gentoo-2-898927661a0fde32a221fc816b6dc0d4c76f8a29.tar.bz2 gentoo-2-898927661a0fde32a221fc816b6dc0d4c76f8a29.zip |
Inital import in support of bug #45166
Diffstat (limited to 'sys-apps/ifd-gempc')
-rw-r--r-- | sys-apps/ifd-gempc/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 | 1 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/ifd-gempc-0.9.1.gentoo.diff | 22 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/ifd-gempc-0.9.1a.gentoo.diff | 15 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/ifd-gempc-0.9.1.ebuild | 37 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/metadata.xml | 13 |
7 files changed, 100 insertions, 0 deletions
diff --git a/sys-apps/ifd-gempc/ChangeLog b/sys-apps/ifd-gempc/ChangeLog new file mode 100644 index 000000000000..9446660f9440 --- /dev/null +++ b/sys-apps/ifd-gempc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/ifd-gempc +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ChangeLog,v 1.1 2004/03/23 19:56:09 dragonheart Exp $ + +*ifd-gempc-0.9.1 (24 Mar 2004) + + 24 Mar 2004; Daniel Black <dragonheart@gentoo.org> ifd-gempc-0.9.1.ebuild, + files/ifd-gempc-0.9.1.gentoo.diff, files/ifd-gempc-0.9.1a.gentoo.diff: + Inital import in support of bug #45166 + diff --git a/sys-apps/ifd-gempc/Manifest b/sys-apps/ifd-gempc/Manifest new file mode 100644 index 000000000000..20e7ed1063fb --- /dev/null +++ b/sys-apps/ifd-gempc/Manifest @@ -0,0 +1,2 @@ +MD5 110566135227b875dded082c18ad8ea5 ifd-gempc-0.9.1.ebuild 713 +MD5 d3f44139b3c343b492e55f29ed3cb177 files/digest-ifd-gempc-0.9.1 67 diff --git a/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 b/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 new file mode 100644 index 000000000000..d90c3368bea0 --- /dev/null +++ b/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 @@ -0,0 +1 @@ +MD5 6282d1fc95a1832159c6491835c337de ifd-gempc-0.9.1.tar.gz 304104 diff --git a/sys-apps/ifd-gempc/files/ifd-gempc-0.9.1.gentoo.diff b/sys-apps/ifd-gempc/files/ifd-gempc-0.9.1.gentoo.diff new file mode 100644 index 000000000000..c67ccd7a482c --- /dev/null +++ b/sys-apps/ifd-gempc/files/ifd-gempc-0.9.1.gentoo.diff @@ -0,0 +1,22 @@ +--- GemPC410/Makefile.bac 2004-03-23 13:44:54.166360096 +0930 ++++ GemPC410/Makefile 2004-03-23 13:46:35.893895160 +0930 +@@ -14,7 +14,7 @@ + + # by default install in /usr/local + ifeq ($(DESTDIR),) +-DESTDIR=/usr/local/pcsc/drivers/serial ++DESTDIR=/usr/local + endif + + # /home/rousseau/sc/pcsc/i/ifd-gempc-0.5.10/GemPC410 -> 0.5.10 +@@ -69,8 +69,8 @@ + rm -f check_stamp dep_stamp + + install: all +- if [ ! -d $(DESTDIR) ] ; then install -d $(DESTDIR) ; fi +- cp -R libGemPC410.so* $(DESTDIR) ++ if [ ! -d $(DESTDIR)/pcsc/drivers/serial ] ; then install -d $(DESTDIR)/pcsc/drivers/serial ; fi ++ cp -R libGemPC410.so* $(DESTDIR)/pcsc/drivers/serial + + dep: dep_stamp + dep_stamp: diff --git a/sys-apps/ifd-gempc/files/ifd-gempc-0.9.1a.gentoo.diff b/sys-apps/ifd-gempc/files/ifd-gempc-0.9.1a.gentoo.diff new file mode 100644 index 000000000000..12fa9d8dc59f --- /dev/null +++ b/sys-apps/ifd-gempc/files/ifd-gempc-0.9.1a.gentoo.diff @@ -0,0 +1,15 @@ +--- GemPC430/Makefile.bac 2003-09-03 05:15:09.000000000 +0930 ++++ GemPC430/Makefile 2004-03-23 13:57:23.353466344 +0930 +@@ -64,9 +64,9 @@ + rm -f check_stamp dep_stamp + + install: all +- mkdir -p $(DESTDIR)/pcsc/drivers/ifd-GemPC430.bundle/Contents/Linux/ +- cp libGemPC430.so $(DESTDIR)/pcsc/drivers/ifd-GemPC430.bundle/Contents/Linux/libGemPC430.so.$(version) +- sed s/VERSION/$(version)/ Info.plist > $(DESTDIR)/pcsc/drivers/ifd-GemPC430.bundle/Contents/Info.plist ++ mkdir -p $(DESTDIR)/pcsc/drivers/usb ++ cp libGemPC430.so $(DESTDIR)/pcsc/drivers/usb/libGemPC430.so.$(version) ++ sed s/VERSION/$(version)/ Info.plist > $(DESTDIR)/pcsc/drivers/usb/Info.plist + + dep: dep_stamp + dep_stamp: diff --git a/sys-apps/ifd-gempc/ifd-gempc-0.9.1.ebuild b/sys-apps/ifd-gempc/ifd-gempc-0.9.1.ebuild new file mode 100644 index 000000000000..73f1ed36924f --- /dev/null +++ b/sys-apps/ifd-gempc/ifd-gempc-0.9.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ifd-gempc-0.9.1.ebuild,v 1.1 2004/03/23 19:56:09 dragonheart Exp $ + +DESCRIPTION="GemCore based PC/SC reader drivers for pcsc-lite" +HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/ifd-GemPC.html" +LICENSE="GPL-2 BSD" +KEYWORDS="~x86" +SLOT="0" +SRC_URI="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/${P}.tar.gz" +IUSE="" +DEPEND=">=sys-devel/gcc-2.95.3-r5 + sys-apps/pcsc-lite" + +RDEPEND="sys-apps/pcsc-lite" + +src_unpack() { + unpack ${A} + cd ${S} + local patch + for patch in ${FILESDIR}/${P}*.diff; do + epatch ${patch} + done +} + +src_compile() { + emake || die +} + +src_install () { + emake DESTDIR=${D}/usr/lib install || die + + # Below makes this consistant with pcsc-slb-rf72-drv + mv ${D}/usr/lib/pcsc/drivers ${D}/usr/lib/readers + rmdir ${D}/usr/lib/pcsc + dodoc README* +} diff --git a/sys-apps/ifd-gempc/metadata.xml b/sys-apps/ifd-gempc/metadata.xml new file mode 100644 index 000000000000..898ed2c249f3 --- /dev/null +++ b/sys-apps/ifd-gempc/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>dragonheart@gentoo.org</email> +<description>embedded got assigned to a pcsc-lite bug and this is a driver for it. base-system is assigned to +pcsc-lite so if those wonderful people want to take over they want. +</description> +</maintainer> +<longdescription>This library provides PC/SC IFD handler implementation for Gemplus GemCore based serial and USB +smart cards readers. +</longdescription> +</pkgmetadata> |