Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/groff: New package
@ 2014-09-04 19:59 Bernd Kuhls
  2014-09-04 19:59 ` [Buildroot] [PATCH 2/2] package/setserial: Depends on host-groff Bernd Kuhls
  2014-09-04 20:44 ` [Buildroot] [PATCH 1/2] package/groff: New package Peter Korsgaard
  0 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2014-09-04 19:59 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/Config.in       |    1 +
 package/groff/Config.in |   15 +++++++++++++++
 package/groff/groff.mk  |   19 +++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100644 package/groff/Config.in
 create mode 100644 package/groff/groff.mk

diff --git a/package/Config.in b/package/Config.in
index 4622f9e..d354a2d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1135,6 +1135,7 @@ comment "Utilities"
 	source "package/file/Config.in"
 	source "package/gnupg/Config.in"
 	source "package/gnupg2/Config.in"
+	source "package/groff/Config.in"
 	source "package/inotify-tools/Config.in"
 	source "package/lockfile-progs/Config.in"
 	source "package/logrotate/Config.in"
diff --git a/package/groff/Config.in b/package/groff/Config.in
new file mode 100644
index 0000000..764e829
--- /dev/null
+++ b/package/groff/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_GROFF
+	bool "groff"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  Groff (GNU troff) is a typesetting system that reads plain text mixed
+	  with formatting commands and produces formatted output. Output may be
+	  PostScript or PDF, html, or ASCII/UTF8 for display at the terminal.
+	  Formatting commands may be either low-level typesetting requests
+	  (?primitives?) or macros from a supplied set. Users may also write
+	  their own macros. All three may be combined.
+
+	  http://www.gnu.org/software/groff/
+
+comment "groff needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/groff/groff.mk b/package/groff/groff.mk
new file mode 100644
index 0000000..63f9909
--- /dev/null
+++ b/package/groff/groff.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# groff
+#
+################################################################################
+
+GROFF_VERSION = 1.22.2
+GROFF_SOURCE = groff-$(GROFF_VERSION).tar.gz
+GROFF_SITE = $(BR2_GNU_MIRROR)/groff
+GROFF_LICENSE = GPLv3+
+GROFF_LICENSE_FILES = COPYING
+GROFF_DEPENDENCIES = host-groff
+
+# groff calls itself during make install
+# http://lists.gnu.org/archive/html/bug-groff/2009-08/msg00004.html
+GROFF_MAKE_OPT = GROFF_BIN_PATH=$(HOST_DIR)/usr/bin GROFFBIN=groff
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-05  5:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-04 19:59 [Buildroot] [PATCH 1/2] package/groff: New package Bernd Kuhls
2014-09-04 19:59 ` [Buildroot] [PATCH 2/2] package/setserial: Depends on host-groff Bernd Kuhls
2014-09-04 20:09   ` Yann E. MORIN
2014-09-04 20:44 ` [Buildroot] [PATCH 1/2] package/groff: New package Peter Korsgaard
2014-09-04 21:09   ` Bernd Kuhls
2014-09-05  5:17     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox