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
[email protected]

Reply via email to