mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.
@ 2014-03-04 15:40 David Thomas
  2014-03-05  8:57 ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: David Thomas @ 2014-03-04 15:40 UTC (permalink / raw)
  To: ptxdist

These are a dependency of building ghostscript for the target
 because some of the files that ghostscript builds are
 programs that need to be run on the host during the
 build process.

---
 rules/host-ghostscript.in   |    7 +++++
 rules/host-ghostscript.make |   73 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 100644 rules/host-ghostscript.in
 create mode 100644 rules/host-ghostscript.make

diff --git a/rules/host-ghostscript.in b/rules/host-ghostscript.in
new file mode 100644
index 0000000..7eb7b95
--- /dev/null
+++ b/rules/host-ghostscript.in
@@ -0,0 +1,7 @@
+## SECTION=project_specific
+
+config HOST_GHOSTSCRIPT
+	tristate
+	prompt "ghostscript"
+	help
+	  FIXME
diff --git a/rules/host-ghostscript.make b/rules/host-ghostscript.make
new file mode 100644
index 0000000..f45d9d5
--- /dev/null
+++ b/rules/host-ghostscript.make
@@ -0,0 +1,73 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by <>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_GHOSTSCRIPT) += host-ghostscript
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.extract:
+#	@$(call targetinfo)
+#	@$(call clean, $(HOST_GHOSTSCRIPT_DIR))
+#	@$(call extract, GHOSTSCRIPT, $(HOST_BUILDDIR))
+#	@$(call patchin, GHOSTSCRIPT, $(HOST_GHOSTSCRIPT_DIR))
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#HOST_GHOSTSCRIPT_CONF_ENV	:= $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_GHOSTSCRIPT_CONF_TOOL	:= autoconf
+#HOST_GHOSTSCRIPT_CONF_OPT	:= $(HOST_AUTOCONF)
+
+#$(STATEDIR)/host-ghostscript.prepare:
+#	@$(call targetinfo)
+#	@$(call clean, $(HOST_GHOSTSCRIPT_DIR)/config.cache)
+#	cd $(HOST_GHOSTSCRIPT_DIR) && \
+#		$(HOST_GHOSTSCRIPT_PATH) $(HOST_GHOSTSCRIPT_ENV) \
+#		./configure $(HOST_GHOSTSCRIPT_CONF_OPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.compile:
+#	@$(call targetinfo)
+#	@$(call world/compile, HOST_GHOSTSCRIPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.install:
+#	@$(call targetinfo)
+#	@$(call world/install, HOST_GHOSTSCRIPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.clean:
+#	@$(call targetinfo)
+#	@$(call clean_pkg, HOST_GHOSTSCRIPT)
+
+# vim: syntax=make
-- 
1.7.9.5

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-03-05 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 15:40 [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host David Thomas
2014-03-05  8:57 ` Juergen Beisert
2014-03-05  9:08   ` Alexander Aring
2014-03-05 10:03   ` [ptxdist] FW: " David Thomas

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