aboutsummaryrefslogtreecommitdiff
path: root/package/foomatic-filters
diff options
context:
space:
mode:
authorGravatar Olivier Schonken <olivier.schonken@gmail.com>2013-03-25 13:27:58 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-03-26 22:53:10 +0100
commit2320f6a309c405124aa3958948c3577378d07968 (patch)
treea99ccb0194021be8b64e50482ad1060416bc4910 /package/foomatic-filters
parentc3e8188815f608f783a8d6a5e95cc76ef17ac95b (diff)
downloadbuildroot-2320f6a309c405124aa3958948c3577378d07968.tar.gz
buildroot-2320f6a309c405124aa3958948c3577378d07968.tar.bz2
package: add foomatic-filters
Foomatic is a database-driven system for integrating free software printer drivers with common spoolers under Unix. It supports CUPS, LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing with every free software printer driver known to us and every printer known to work with these drivers. [Peter: minor whitespace fixes] Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> [yann.morin.1998@free.fr: space-damage, licensing terms, unneeded vars] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/foomatic-filters')
-rw-r--r--package/foomatic-filters/Config.in18
-rw-r--r--package/foomatic-filters/foomatic-filters.mk22
2 files changed, 40 insertions, 0 deletions
diff --git a/package/foomatic-filters/Config.in b/package/foomatic-filters/Config.in
new file mode 100644
index 0000000000..aa056b9274
--- /dev/null
+++ b/package/foomatic-filters/Config.in
@@ -0,0 +1,18 @@
+comment "foomatic-filters requires a toolchain with support for THREADS"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
+
+config BR2_PACKAGE_FOOMATIC_FILTERS
+ bool "foomatic_filters"
+ depends on BR2_PACKAGE_CUPS
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+ select BR2_PACKAGE_LIBUSB
+ select BR2_PACKAGE_ENSCRIPT
+ help
+ Foomatic Filters
+ Foomatic is a database-driven system for integrating free software
+ printer drivers with common spoolers under Unix. It supports CUPS,
+ LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing
+ with every free software printer driver known to us and every
+ printer known to work with these drivers.
+
+ http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic
diff --git a/package/foomatic-filters/foomatic-filters.mk b/package/foomatic-filters/foomatic-filters.mk
new file mode 100644
index 0000000000..ad7ab7a68d
--- /dev/null
+++ b/package/foomatic-filters/foomatic-filters.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# foomatic_filters
+#
+#############################################################
+
+FOOMATIC_FILTERS_VERSION = 4.0.17
+FOOMATIC_FILTERS_SITE = http://www.openprinting.org/download/foomatic
+FOOMATIC_FILTERS_LICENSE = GPLv2+
+FOOMATIC_FILTERS_LICENSE_FILES = COPYING
+FOOMATIC_FILTERS_DEPENDENCIES = cups libusb enscript
+
+FOOMATIC_FILTERS_CONF_OPT = --with-file-converter=enscript
+
+ifeq ($(BR2_PACKAGE_DBUS),y)
+FOOMATIC_FILTERS_CONF_OPT += --enable-dbus
+FOOMATIC_FILTERS_DEPENDENCIES += dbus
+else
+FOOMATIC_FILTERS_CONF_OPT += --disable-dbus
+endif
+
+$(eval $(autotools-package))