Skip to contentSkip to conversation

New package: sane-backends

PATCH Superseded Frank Hunleth 2 participants 2 messages Jan 9, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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..bc8a2af
@@ -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 1/1 New package: sane-backends

Hello,

Le Sun, 8 Jan 2012 23:35:42 -0500,
Frank Hunleth <[email protected]> a ?crit :

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

Quoted 3 lines
package/sane-backends/sane-backends.mk new file +3 -0
+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)

Please use '=' instead of ':=' here.

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

Quoted 4 lines
package/sane-backends/sane-backends.mk new file +4 -0
+SANE_BACKENDS_DEPENDENCIES += libusb
+SANE_BACKENDS_CONF_OPT += --enable-libusb_1_0
+
+$(eval $(call AUTOTARGETS))

Otherwise, looks like a sane package :-)

Thomas

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