* [Buildroot] [PATCH] New package: sane-backends
@ 2012-01-09 4:35 Frank Hunleth
2012-01-09 7:27 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Frank Hunleth @ 2012-01-09 4:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
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
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..bc8a2af
--- /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))
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] New package: sane-backends
2012-01-09 4:35 [Buildroot] [PATCH] New package: sane-backends Frank Hunleth
@ 2012-01-09 7:27 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-01-09 7:27 UTC (permalink / raw)
To: buildroot
Hello,
Le Sun, 8 Jan 2012 23:35:42 -0500,
Frank Hunleth <fhunleth@troodon-software.com> a ?crit :
> +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.
> +SANE_BACKENDS_DEPENDENCIES += libusb
> +SANE_BACKENDS_CONF_OPT += --enable-libusb_1_0
> +
> +$(eval $(call AUTOTARGETS))
Otherwise, looks like a sane package :-)
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:[~2012-01-09 7:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 4:35 [Buildroot] [PATCH] New package: sane-backends Frank Hunleth
2012-01-09 7:27 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox