From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from exchange-server.intranet.ggtg.net ([195.137.15.66]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WKrSS-0005jy-QC for ptxdist@pengutronix.de; Tue, 04 Mar 2014 16:40:41 +0100 From: David Thomas Date: Tue, 4 Mar 2014 15:40:28 +0000 Message-ID: <63F3A45AB9EA8943A92845E4748C0F4B010E563E@exchange-server.intranet.ggtg.net> Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host. Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" 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