From c3e8188815f608f783a8d6a5e95cc76ef17ac95b Mon Sep 17 00:00:00 2001 From: Olivier Schonken Date: Mon, 25 Mar 2013 13:27:57 +0000 Subject: package: add enscript GNU Enscript is a free replacement for Adobe's enscript program. GNU Enscript converts ASCII files to PostScript, HTML, or RTF and stores generated output to a file or sends it directly to the printer. It includes features for `pretty-printing' (language- sensitive code highlighting) in several programming languages. [Peter: fix Config.in indentation] Signed-off-by: Olivier Schonken [yann.morin.1998@free.fr: space-damage, unneeded variables, licensing terms] Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/enscript/enscript.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/enscript/enscript.mk (limited to 'package/enscript/enscript.mk') diff --git a/package/enscript/enscript.mk b/package/enscript/enscript.mk new file mode 100644 index 000000000..93e4d6da6 --- /dev/null +++ b/package/enscript/enscript.mk @@ -0,0 +1,19 @@ +############################################################# +# +# enscript +# +############################################################# + +ENSCRIPT_VERSION = 1.6.6 +ENSCRIPT_SITE = $(BR2_GNU_MIRROR)/enscript/ +ENSCRIPT_LICENSE = GPLv3+ +ENSCRIPT_LICENSE_FILES = COPYING + +# Enable pthread threads if toolchain supports threads +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) + ENSCRIPT_CONF_OPT += --enable-threads=pth +else + ENSCRIPT_CONF_OPT += --disable-threads +endif + +$(eval $(autotools-package)) -- cgit v1.2.3