From: David Thomas <david.thomas@ggtg.net>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.
Date: Tue, 4 Mar 2014 15:40:28 +0000 [thread overview]
Message-ID: <63F3A45AB9EA8943A92845E4748C0F4B010E563E@exchange-server.intranet.ggtg.net> (raw)
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
next reply other threads:[~2014-03-04 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 15:40 David Thomas [this message]
2014-03-05 8:57 ` Juergen Beisert
2014-03-05 9:08 ` Alexander Aring
2014-03-05 10:03 ` [ptxdist] FW: " David Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=63F3A45AB9EA8943A92845E4748C0F4B010E563E@exchange-server.intranet.ggtg.net \
--to=david.thomas@ggtg.net \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox