All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v4] pcsc-lite: add version 1.7.2
@ 2011-05-16 14:15 Otavio Salvador
  2011-05-16 18:53 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Otavio Salvador @ 2011-05-16 14:15 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-support/pcsc-lite/files/pcscd.init |   32 ++++++++++++++++
 .../recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb   |   38 ++++++++++++++++++++
 2 files changed, 70 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/pcsc-lite/files/pcscd.init
 create mode 100644 meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb

diff --git a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init b/meta-oe/recipes-support/pcsc-lite/files/pcscd.init
new file mode 100644
index 0000000..92385ab
--- /dev/null
+++ b/meta-oe/recipes-support/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/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
new file mode 100644
index 0000000..7d235d6
--- /dev/null
+++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "PC/SC Lite smart card framework and applications"
+HOMEPAGE = "http://pcsclite.alioth.debian.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149"
+DEPENDS = "udev"
+PR = "r0"
+
+SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2 \
+           file://pcscd.init "
+
+SRC_URI[md5sum] = "47e7055cfc14399fdaa1b7a4aa06e5aa"
+SRC_URI[sha256sum] = "41f13d552eaa2c3978fbb6f2125e81903a0767011d999052fd1a6ee03880b398"
+
+inherit autotools update-rc.d
+
+EXTRA_OECONF = " \
+	--disable-libusb \
+	--enable-libudev \
+	--enable-usbdropdir=${libdir}/pcsc/drivers \
+	"
+
+S = "${WORKDIR}/pcsc-lite-${PV}"
+
+do_install() {
+	oe_runmake DESTDIR="${D}" install
+	install -d "${D}/${sysconfdir}/init.d"
+	install -m 755 "${WORKDIR}/pcscd.init" "${D}/${sysconfdir}/init.d/pcscd"
+
+	# handle vars values
+	sed -i 's,/usr/sbin,${sbindir},g;s,/var,${localstatedir},g' "${D}/${sysconfdir}/init.d/pcscd"
+}
+
+PACKAGES =+ "${PN}-lib"
+
+INITSCRIPT_NAME = "pcscd"
+INITSCRIPT_PARAMS = "defaults"
+
+FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH v4] pcsc-lite: add version 1.7.2
  2011-05-16 14:15 [meta-oe][PATCH v4] pcsc-lite: add version 1.7.2 Otavio Salvador
@ 2011-05-16 18:53 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-05-16 18:53 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks, applied

On 16-05-11 16:15, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  meta-oe/recipes-support/pcsc-lite/files/pcscd.init |   32 ++++++++++++++++
>  .../recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb   |   38 ++++++++++++++++++++
>  2 files changed, 70 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-support/pcsc-lite/files/pcscd.init
>  create mode 100644 meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
> 
> diff --git a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init b/meta-oe/recipes-support/pcsc-lite/files/pcscd.init
> new file mode 100644
> index 0000000..92385ab
> --- /dev/null
> +++ b/meta-oe/recipes-support/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/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
> new file mode 100644
> index 0000000..7d235d6
> --- /dev/null
> +++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
> @@ -0,0 +1,38 @@
> +DESCRIPTION = "PC/SC Lite smart card framework and applications"
> +HOMEPAGE = "http://pcsclite.alioth.debian.org/"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149"
> +DEPENDS = "udev"
> +PR = "r0"
> +
> +SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2 \
> +           file://pcscd.init "
> +
> +SRC_URI[md5sum] = "47e7055cfc14399fdaa1b7a4aa06e5aa"
> +SRC_URI[sha256sum] = "41f13d552eaa2c3978fbb6f2125e81903a0767011d999052fd1a6ee03880b398"
> +
> +inherit autotools update-rc.d
> +
> +EXTRA_OECONF = " \
> +	--disable-libusb \
> +	--enable-libudev \
> +	--enable-usbdropdir=${libdir}/pcsc/drivers \
> +	"
> +
> +S = "${WORKDIR}/pcsc-lite-${PV}"
> +
> +do_install() {
> +	oe_runmake DESTDIR="${D}" install
> +	install -d "${D}/${sysconfdir}/init.d"
> +	install -m 755 "${WORKDIR}/pcscd.init" "${D}/${sysconfdir}/init.d/pcscd"
> +
> +	# handle vars values
> +	sed -i 's,/usr/sbin,${sbindir},g;s,/var,${localstatedir},g' "${D}/${sysconfdir}/init.d/pcscd"
> +}
> +
> +PACKAGES =+ "${PN}-lib"
> +
> +INITSCRIPT_NAME = "pcscd"
> +INITSCRIPT_PARAMS = "defaults"
> +
> +FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFN0XKTMkyGM64RGpERAus0AJwPWV8fH1fAjijTxqDlQpzr7VBHCQCfbmn6
l7a6BTUPr6QDv8gDaBDmpNQ=
=pmc1
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-16 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-16 14:15 [meta-oe][PATCH v4] pcsc-lite: add version 1.7.2 Otavio Salvador
2011-05-16 18:53 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.