Skip to contentSkip to conversation

New package: sane-backends

PATCH New Frank Hunleth 3 participants 3 messages Jan 10, 2012 – Jan 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 New package: sane-backends

---
 package/Config.in                      |    1 +
 package/sane-backends/Config.in        |    7 +++++++
 package/sane-backends/sane-backends.mk |   13 +++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 package/sane-backends/Config.in
 create mode 100644 package/sane-backends/sane-backends.mk
package/Config.in +1 -0
index a82c658..276806b 100644
@@ -199,6 +199,7 @@ source "package/openocd/Config.in"
 source "package/pciutils/Config.in"
 source "package/picocom/Config.in"
 source "package/rng-tools/Config.in"
+source "package/sane-backends/Config.in"
 source "package/sdparm/Config.in"
 source "package/setserial/Config.in"
 source "package/smartmontools/Config.in"
package/sane-backends/Config.in new file +7 -0
new file mode 100644
index 0000000..fb73435
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_SANE_BACKENDS
+	bool "sane-backends"
+	select BR2_PACKAGE_LIBUSB
+	help
+	  SANE - Scanner Access Now Easy
+
+	  http://www.sane-project.org
package/sane-backends/sane-backends.mk new file +13 -0
new file mode 100644
index 0000000..1188d18
@@ -0,0 +1,13 @@
+#############################################################
+#
+# sane-backends
+#
+#############################################################
+SANE_BACKENDS_VERSION = 1.0.22
+SANE_BACKENDS_SOURCE = sane-backends-$(SANE_BACKENDS_VERSION).tar.gz
+SANE_BACKENDS_SITE = ftp://ftp2.sane-project.org/pub/sane/sane-backends-$(SANE_BACKENDS_VERSION)
+
+SANE_BACKENDS_DEPENDENCIES += libusb
+SANE_BACKENDS_CONF_OPT += --enable-libusb_1_0
+
+$(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH v2 1/1 New package: sane-backends

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

Frank> Signed-off-by: Frank Hunleth <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH v2 1/1 New package: sane-backends

In reply to Frank Hunleth

package/sane-backends/sane-backends.mk line 11

Quoted 2 lines · On Tuesday 10 January 2012 13:18:59 Frank Hunleth wrote:
package/sane-backends/sane-backends.mk new file +2 -0
+SANE_BACKENDS_DEPENDENCIES += libusb
+SANE_BACKENDS_CONF_OPT += --enable-libusb_1_0

Since there is an optional dependency on libjpeg, I guess it needs
something like:

ifeq (BR2_PACKAGE_JPEG,y)
SANE_BACKENDS_DEPENDENCIES += jpeg
endif

And ideally it should also have a config option to select the backends.

Regards,
Arnout

Signature · 9 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120115/530c5abc/attachment.html>