summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-08 11:09:20 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-08 11:09:20 +0000
commit3603a055e33435a2f7fae4261e05328b255574e2 (patch)
tree840c6811a09748c9edcb2484f2de9116828f51a3 /sys-apps/pcsc-lite
parentVersion bump. (diff)
downloadgentoo-2-3603a055e33435a2f7fae4261e05328b255574e2.tar.gz
gentoo-2-3603a055e33435a2f7fae4261e05328b255574e2.tar.bz2
gentoo-2-3603a055e33435a2f7fae4261e05328b255574e2.zip
Fix install path of config file #135612 by Ivan Lloro and use a multilib dir path for usb readers.
(Portage version: 2.1_rc4-r3)
Diffstat (limited to 'sys-apps/pcsc-lite')
-rw-r--r--sys-apps/pcsc-lite/ChangeLog9
-rw-r--r--sys-apps/pcsc-lite/files/digest-pcsc-lite-1.3.1-r13
-rw-r--r--sys-apps/pcsc-lite/pcsc-lite-1.3.1-r1.ebuild58
3 files changed, 69 insertions, 1 deletions
diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog
index 076ec7bce9df..9e41f11ff824 100644
--- a/sys-apps/pcsc-lite/ChangeLog
+++ b/sys-apps/pcsc-lite/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/pcsc-lite
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.21 2006/04/27 22:38:28 antarus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.22 2006/06/08 11:09:20 vapier Exp $
+
+*pcsc-lite-1.3.1-r1 (08 Jun 2006)
+
+ 08 Jun 2006; Mike Frysinger <vapier@gentoo.org>
+ +pcsc-lite-1.3.1-r1.ebuild:
+ Fix install path of config file #135612 by Ivan Lloro and use a multilib dir
+ path for usb readers.
27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest:
Fixing SHA256 digest, pass four
diff --git a/sys-apps/pcsc-lite/files/digest-pcsc-lite-1.3.1-r1 b/sys-apps/pcsc-lite/files/digest-pcsc-lite-1.3.1-r1
new file mode 100644
index 000000000000..20b84e76dacf
--- /dev/null
+++ b/sys-apps/pcsc-lite/files/digest-pcsc-lite-1.3.1-r1
@@ -0,0 +1,3 @@
+MD5 90fa7e9cdfdfe88fdf6644ca8b60a681 pcsc-lite-1.3.1.tar.gz 842654
+RMD160 60719bdb2e9f52da9e0e5ca563142f779c7ca7b7 pcsc-lite-1.3.1.tar.gz 842654
+SHA256 23a16340e65abed340f22a71b6267477b39baa4c832516fe7e8092d3bbbc76ad pcsc-lite-1.3.1.tar.gz 842654
diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.3.1-r1.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..391433983adc
--- /dev/null
+++ b/sys-apps/pcsc-lite/pcsc-lite-1.3.1-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.3.1-r1.ebuild,v 1.1 2006/06/08 11:09:20 vapier Exp $
+
+inherit multilib
+
+STUPID_NUM=1565
+MY_P="${PN}-${PV/_/-}"
+DESCRIPTION="PC/SC Architecture smartcard middleware library"
+HOMEPAGE="http://www.linuxnet.com/middle.html"
+SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86"
+IUSE="static debug"
+
+RDEPEND="!static? ( dev-libs/libusb )"
+DEPEND="dev-libs/libusb
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:/reader.conf.d::' \
+ etc/Makefile.in #135612
+}
+
+src_compile() {
+ econf \
+ --enable-extendedapdu \
+ --enable-usbdropdir=/usr/$(get_libdir)/readers/usb \
+ --enable-muscledropdir=/usr/share/pcsc/services \
+ $(use_enable debug) \
+ $(use_enable static) \
+ || die "configure failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog DRIVERS HELP INSTALL NEWS README SECURITY
+ dodoc doc/*.pdf doc/README.DAEMON
+ docinto sample
+ dodoc src/utils/README src/utils/sample.*
+ rm -r "${D}"/usr/doc
+
+ newinitd "${FILESDIR}"/pcscd-init pcscd
+ newconfd "${FILESDIR}"/pcscd-confd pcscd
+}
+
+pkg_postinst() {
+ ewarn "You should run 'revdep-rebuild --library libpcsclite.so.0'"
+}