mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
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 <olivier.schonken@gmail.com> [yann.morin.1998@free.fr: space-damage, unneeded variables, licensing terms] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
1eb716f749
commit
c3e8188815
19
package/enscript/enscript.mk
Normal file
19
package/enscript/enscript.mk
Normal file
@@ -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))
|
||||
Reference in New Issue
Block a user