Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Add pcs-lite package to buildroot.
@ 2010-09-22  7:53 Belisko Marek
  2010-09-22 23:00 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Belisko Marek @ 2010-09-22  7:53 UTC (permalink / raw)
  To: buildroot

Add pcs-lite package to buildroot.

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index ce6057b..504ffc1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/pcs-lite/Config.in b/package/pcs-lite/Config.in
new file mode 100644
index 0000000..3098d79
--- /dev/null
+++ b/package/pcs-lite/Config.in
@@ -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
diff --git a/package/pcs-lite/pcs-lite.mk b/package/pcs-lite/pcs-lite.mk
new file mode 100644
index 0000000..0063fa8
--- /dev/null
+++ b/package/pcs-lite/pcs-lite.mk
@@ -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))
-- 
1.7.1

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

* [Buildroot] [PATCH] Add pcs-lite package to buildroot.
  2010-09-22  7:53 [Buildroot] [PATCH] Add pcs-lite package to buildroot Belisko Marek
@ 2010-09-22 23:00 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2010-09-22 23:00 UTC (permalink / raw)
  To: buildroot

Hi !

On Wed, 22 Sep 2010 09:53:50 +0200
Belisko Marek <marek.belisko@gmail.com> wrote:

> +source "package/pcs-lite/Config.in"
> +#source "package/pcsc-tools/Config.in"

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

> +#############################################################
> +#
> +# 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).

> +PCS_LITE_INSTALL_STAGING = NO

Not needed (that's the default).

> +PCS_LITE_INSTALL_TARGET = YES

Not needed (that's the default).

> +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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2010-09-22 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22  7:53 [Buildroot] [PATCH] Add pcs-lite package to buildroot Belisko Marek
2010-09-22 23:00 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox