diff options
Diffstat (limited to 'rules/xorg-font-adobe-utopia-100dpi.make')
-rw-r--r-- | rules/xorg-font-adobe-utopia-100dpi.make | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/rules/xorg-font-adobe-utopia-100dpi.make b/rules/xorg-font-adobe-utopia-100dpi.make new file mode 100644 index 000000000..6fc82b24d --- /dev/null +++ b/rules/xorg-font-adobe-utopia-100dpi.make @@ -0,0 +1,133 @@ +# -*-makefile-*- +# $Id: template 4565 2006-02-10 14:23:10Z mkl $ +# +# Copyright (C) 2006 by Erwin Rol +# +# 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 +# +PACKAGES-$(PTXCONF_XORG_FONT_ADOBE_UTOPIA_100DPI) += xorg-font-adobe-utopia-100dpi + +# +# Paths and names +# +XORG_FONT_ADOBE_UTOPIA_100DPI_VERSION := 1.0.1 +XORG_FONT_ADOBE_UTOPIA_100DPI := font-adobe-utopia-100dpi-X11R7.0-$(XORG_FONT_ADOBE_UTOPIA_100DPI_VERSION) +XORG_FONT_ADOBE_UTOPIA_100DPI_SUFFIX := tar.bz2 +XORG_FONT_ADOBE_UTOPIA_100DPI_URL := ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R7.0/src/font//$(XORG_FONT_ADOBE_UTOPIA_100DPI).$(XORG_FONT_ADOBE_UTOPIA_100DPI_SUFFIX) +XORG_FONT_ADOBE_UTOPIA_100DPI_SOURCE := $(SRCDIR)/$(XORG_FONT_ADOBE_UTOPIA_100DPI).$(XORG_FONT_ADOBE_UTOPIA_100DPI_SUFFIX) +XORG_FONT_ADOBE_UTOPIA_100DPI_DIR := $(BUILDDIR)/$(XORG_FONT_ADOBE_UTOPIA_100DPI) + +-include $(call package_depfile) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_get: $(STATEDIR)/xorg-font-adobe-utopia-100dpi.get + +$(STATEDIR)/xorg-font-adobe-utopia-100dpi.get: $(xorg-font-adobe-utopia-100dpi_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(XORG_FONT_ADOBE_UTOPIA_100DPI_SOURCE): + @$(call targetinfo, $@) + @$(call get, $(XORG_FONT_ADOBE_UTOPIA_100DPI_URL)) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_extract: $(STATEDIR)/xorg-font-adobe-utopia-100dpi.extract + +$(STATEDIR)/xorg-font-adobe-utopia-100dpi.extract: $(xorg-font-adobe-utopia-100dpi_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(XORG_FONT_ADOBE_UTOPIA_100DPI_DIR)) + @$(call extract, $(XORG_FONT_ADOBE_UTOPIA_100DPI_SOURCE)) + @$(call patchin, $(XORG_FONT_ADOBE_UTOPIA_100DPI)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_prepare: $(STATEDIR)/xorg-font-adobe-utopia-100dpi.prepare + +XORG_FONT_ADOBE_UTOPIA_100DPI_PATH := PATH=$(CROSS_PATH) +XORG_FONT_ADOBE_UTOPIA_100DPI_ENV := $(CROSS_ENV) + +# +# autoconf +# +XORG_FONT_ADOBE_UTOPIA_100DPI_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/xorg-font-adobe-utopia-100dpi.prepare: $(xorg-font-adobe-utopia-100dpi_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(XORG_FONT_ADOBE_UTOPIA_100DPI_DIR)/config.cache) + cd $(XORG_FONT_ADOBE_UTOPIA_100DPI_DIR) && \ + $(XORG_FONT_ADOBE_UTOPIA_100DPI_PATH) $(XORG_FONT_ADOBE_UTOPIA_100DPI_ENV) \ + ./configure $(XORG_FONT_ADOBE_UTOPIA_100DPI_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_compile: $(STATEDIR)/xorg-font-adobe-utopia-100dpi.compile + +$(STATEDIR)/xorg-font-adobe-utopia-100dpi.compile: $(xorg-font-adobe-utopia-100dpi_compile_deps_default) + @$(call targetinfo, $@) + cd $(XORG_FONT_ADOBE_UTOPIA_100DPI_DIR) && $(XORG_FONT_ADOBE_UTOPIA_100DPI_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_install: $(STATEDIR)/xorg-font-adobe-utopia-100dpi.install + +$(STATEDIR)/xorg-font-adobe-utopia-100dpi.install: $(xorg-font-adobe-utopia-100dpi_install_deps_default) + @$(call targetinfo, $@) + @$(call install, XORG_FONT_ADOBE_UTOPIA_100DPI) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_targetinstall: $(STATEDIR)/xorg-font-adobe-utopia-100dpi.targetinstall + +$(STATEDIR)/xorg-font-adobe-utopia-100dpi.targetinstall: $(xorg-font-adobe-utopia-100dpi_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init,default) + @$(call install_fixup,PACKAGE,xorg-font-adobe-utopia-100dpi) + @$(call install_fixup,PRIORITY,optional) + @$(call install_fixup,VERSION,$(XORG_FONT_ADOBE_UTOPIA_100DPI_VERSION)) + @$(call install_fixup,SECTION,base) + @$(call install_fixup,AUTHOR,"Erwin Rol <ero\@pengutronix.de>") + @$(call install_fixup,DEPENDS,) + @$(call install_fixup,DESCRIPTION,missing) + +#FIXME + + @$(call install_finish) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +xorg-font-adobe-utopia-100dpi_clean: + rm -rf $(STATEDIR)/xorg-font-adobe-utopia-100dpi.* + rm -rf $(IMAGEDIR)/xorg-font-adobe-utopia-100dpi_* + rm -rf $(XORG_FONT_ADOBE_UTOPIA_100DPI_DIR) + +# vim: syntax=make |