Skip to contentSkip to conversation

Add pcs-lite package to buildroot.

PATCH Superseded Belisko Marek 2 participants 2 messages Sep 22, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add pcs-lite package to buildroot.

Add pcs-lite package to buildroot.

---
 package/Config.in            |    2 ++
 package/pcs-lite/Config.in   |    6 ++++++
 package/pcs-lite/pcs-lite.mk |   18 ++++++++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 package/pcs-lite/Config.in
 create mode 100644 package/pcs-lite/pcs-lite.mk
package/Config.in +2 -0
index ce6057b..504ffc1 100644
@@ -193,6 +193,8 @@ source "package/usbmount/Config.in"
 source "package/usbutils/Config.in"
 source "package/wipe/Config.in"
 source "package/xfsprogs/Config.in"
+source "package/pcs-lite/Config.in"
+#source "package/pcsc-tools/Config.in"
 endmenu
 
 menu "Interpreter languages and scripting"
package/pcs-lite/Config.in new file +6 -0
new file mode 100644
index 0000000..3098d79
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PCS_LITE
+	bool "pcs-lite"
+	help
+	  Middleware to access a smart card using SCard API (PC/SC).
+
+	  https://alioth.debian.org/frs/download.php/3337
package/pcs-lite/pcs-lite.mk new file +18 -0
new file mode 100644
index 0000000..0063fa8
@@ -0,0 +1,18 @@
+#############################################################
+#
+# pcs-lite
+#
+#############################################################
+PCS_LITE_VERSION = 1.6.4
+PCS_LITE_SOURCE = pcs-lite-$(PCS_LITE_VERSION).tar.bz2
+PCS_LITE_SITE = https://alioth.debian.org/frs/download.php/3337
+PCS_LITE_AUTORECONF = NO
+PCS_LITE_INSTALL_STAGING = NO
+PCS_LITE_INSTALL_TARGET = YES
+PCS_LITE_LIBTOOL_PATCH = NO
+
+PCS_LITE_CONF_OPT = --disable-libhal
+
+PCS_LITE_DEPENDENCIES = uclibc libusb
+
+$(eval $(call AUTOTARGETS,package,pcs-lite))
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 Add pcs-lite package to buildroot.

Hi !

package/Config.in source "package/usbmount/Config.in" · line 197

Quoted 2 lines · On Wed, 22 Sep 2010 09:53:50 +0200 Belisko Marek <[email protected]>…
package/Config.in +2 -0
+source "package/pcs-lite/Config.in"
+#source "package/pcsc-tools/Config.in"

Keep this commented line for the patch on pcsc-tools.

package/pcs-lite/pcs-lite.mk line 9

Quoted 9 lines
package/pcs-lite/pcs-lite.mk new file +9 -0
+#############################################################
+#
+# pcs-lite
+#
+#############################################################
+PCS_LITE_VERSION = 1.6.4
+PCS_LITE_SOURCE = pcs-lite-$(PCS_LITE_VERSION).tar.bz2
+PCS_LITE_SITE = https://alioth.debian.org/frs/download.php/3337
+PCS_LITE_AUTORECONF = NO

Not needed (that's the default).

Quoted 1 line

+PCS_LITE_INSTALL_STAGING = NO

Not needed (that's the default).

Quoted 1 line

+PCS_LITE_INSTALL_TARGET = YES

Not needed (that's the default).

package/pcs-lite/pcs-lite.mk line 16

Quoted 3 lines
package/pcs-lite/pcs-lite.mk new file +3 -0
+PCS_LITE_CONF_OPT = --disable-libhal
+
+PCS_LITE_DEPENDENCIES = uclibc libusb

The dependency on 'uclibc' should be removed. Buildroot already knows that the toolchain should be built prior to any user package.

If you depend on libusb, then your package should "select BR2_PACKAGE_LIBUSB" in its Config.in file.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com