summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Hunleth <fhunleth@troodon-software.com>2012-01-10 12:18:59 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-01-10 19:36:01 (GMT)
commitb0ff93adfbb44ada2c685713cb95b32c2ce801e4 (patch)
treeada5085dfaf6f48a51b42cd4958d87320ce816cd
parent60033b8f88b477841239fc383349eea5c357fb99 (diff)
downloadbuildroot-b0ff93adfbb44ada2c685713cb95b32c2ce801e4.tar.gz
buildroot-b0ff93adfbb44ada2c685713cb95b32c2ce801e4.tar.bz2
New package: sane-backends
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 a82c658..276806b 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 0000000..fb73435
--- /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 0000000..1188d18
--- /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))