summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFrank Hunleth <fhunleth@troodon-software.com>2012-01-10 07:18:59 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-10 20:36:01 +0100
commitb0ff93adfbb44ada2c685713cb95b32c2ce801e4 (patch)
treeada5085dfaf6f48a51b42cd4958d87320ce816cd /package
parent60033b8f88b477841239fc383349eea5c357fb99 (diff)
New package: sane-backends
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/sane-backends/Config.in7
-rw-r--r--package/sane-backends/sane-backends.mk13
3 files changed, 21 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index a82c65875..276806b8f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/sane-backends/Config.in b/package/sane-backends/Config.in
new file mode 100644
index 000000000..fb734358c
--- /dev/null
+++ b/package/sane-backends/Config.in
@@ -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
diff --git a/package/sane-backends/sane-backends.mk b/package/sane-backends/sane-backends.mk
new file mode 100644
index 000000000..1188d187d
--- /dev/null
+++ b/package/sane-backends/sane-backends.mk
@@ -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))