summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <kalev@smartlink.ee>2008-10-19 15:28:15 +0300
committerKalev Lember <kalev@smartlink.ee>2008-10-19 21:20:53 +0300
commit2675efd69c6ca848f2a2aaf17a146d54e9d4dcdc (patch)
tree8c3dc0273afb3c7f11c4df411a2ec7a269515012
parent02735830de924c6ce96f28d5d37a714f9eece092 (diff)
pcsc-lite 1.4.102: new recipe
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/pcsc-lite/files/pcscd.init32
-rw-r--r--packages/pcsc-lite/pcsc-lite_1.4.102.bb35
3 files changed, 71 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index a0714ac75e..5cc4a8dc98 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -12054,6 +12054,10 @@ sha256=1849733ce494a51334bd1cbf4cc96c63b037256ddab8cb2dc3672db916bb3094
md5=2af38e083fb90ef60fa9eda7cc290e86
sha256=362e4b4473f2f7a3bfa28ea73e80ec00a2fe525a1aceb5f66e1c528a900bd735
+[http://alioth.debian.org/download.php/2479/pcsc-lite-1.4.102.tar.bz2]
+md5=b97d3a725ab93662adf09acfbc49efeb
+sha256=56fc9e6324539537324b071e5b51c3388df9bfa92fb7e210b989b463122fc333
+
[http://handhelds.org/~zecke/oe_packages/pdamaze_V1.0.0.tar.gz]
md5=bf27dd51fe03c8b475080b74de043a13
sha256=99d6bc6b360baabd6044e8883d467cc6ed7955f9ab66d8f87f61e3cc757fb97a
diff --git a/packages/pcsc-lite/files/pcscd.init b/packages/pcsc-lite/files/pcscd.init
new file mode 100644
index 0000000000..92385ab196
--- /dev/null
+++ b/packages/pcsc-lite/files/pcscd.init
@@ -0,0 +1,32 @@
+#!/bin/sh
+DAEMON=/usr/sbin/pcscd
+NAME=pcscd
+DESC="PCSC Daemon"
+PIDFILE=/var/run/pcscd/pcscd.pid
+ARGS=""
+
+test -f $DAEMON || exit 0
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: $NAME"
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: $NAME"
+ start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON
+ echo "."
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/packages/pcsc-lite/pcsc-lite_1.4.102.bb b/packages/pcsc-lite/pcsc-lite_1.4.102.bb
new file mode 100644
index 0000000000..6d5bb44113
--- /dev/null
+++ b/packages/pcsc-lite/pcsc-lite_1.4.102.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "PC/SC Lite smart card framework and applications"
+HOMEPAGE = "http://pcsclite.alioth.debian.org/"
+LICENSE = "BSD"
+FILE_PR = "r0"
+
+DEPENDS = "hal"
+RDEPENDS_${PN} = "hal"
+
+SRC_URI = "http://alioth.debian.org/download.php/2479/pcsc-lite-${PV}.tar.bz2 \
+ file://pcscd.init "
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "pcscd"
+INITSCRIPT_PARAMS = "defaults"
+
+EXTRA_OECONF = " \
+ --enable-libhal \
+ --disable-libusb \
+ --enable-usbdropdir=${libdir}/pcsc/drivers \
+ "
+
+do_stage() {
+ autotools_stage_all
+}
+
+do_install() {
+ oe_runmake DESTDIR="${D}" install
+ install -d "${D}/etc/init.d"
+ install -m 755 "${WORKDIR}/pcscd.init" "${D}/etc/init.d/pcscd"
+}
+
+PACKAGES =+ "libpcsclite"
+
+FILES_libpcsclite = "${libdir}/libpcsclite.so.*"