diff options
author | Erwin Rol <erwin@erwinrol.com> | 2006-02-20 16:51:51 +0000 |
---|---|---|
committer | Erwin Rol <erwin@erwinrol.com> | 2006-02-20 16:51:51 +0000 |
commit | 2bcf7195373cdeda98106cdb0c5f63ecb0e45e81 (patch) | |
tree | 930ede28477ec07878814962c36f857850f6457a /rules/xorg-proto-fixes.make | |
parent | 1a8312bc0fdb2611e0be4a697352bc4b09e4876f (diff) | |
download | ptxdist-2bcf7195373cdeda98106cdb0c5f63ecb0e45e81.tar.gz ptxdist-2bcf7195373cdeda98106cdb0c5f63ecb0e45e81.tar.xz |
Added xorg proto makefiles
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4640 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/xorg-proto-fixes.make')
-rw-r--r-- | rules/xorg-proto-fixes.make | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/rules/xorg-proto-fixes.make b/rules/xorg-proto-fixes.make new file mode 100644 index 000000000..311eca994 --- /dev/null +++ b/rules/xorg-proto-fixes.make @@ -0,0 +1,132 @@ +# -*-makefile-*- +# $Id: template 4565 2006-02-10 14:23:10Z mkl $ +# +# Copyright (C) 2006 by Robert Schwebel +# +# 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_PROTO_FIXES) += xorg-proto-fixes + +# +# Paths and names +# +XORG_PROTO_FIXES_VERSION := 3.0.2 +XORG_PROTO_FIXES := fixesproto-X11R7.0-$(XORG_PROTO_FIXES_VERSION) +XORG_PROTO_FIXES_SUFFIX := tar.bz2 +XORG_PROTO_FIXES_URL := ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R7.0/src/proto/$(XORG_PROTO_FIXES).$(XORG_PROTO_FIXES_SUFFIX) +XORG_PROTO_FIXES_SOURCE := $(SRCDIR)/$(XORG_PROTO_FIXES).$(XORG_PROTO_FIXES_SUFFIX) +XORG_PROTO_FIXES_DIR := $(BUILDDIR)/$(XORG_PROTO_FIXES) + +-include $(call package_depfile) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_get: $(STATEDIR)/xorg-proto-fixes.get + +$(STATEDIR)/xorg-proto-fixes.get: $(xorg-proto-fixes_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(XORG_PROTO_FIXES_SOURCE): + @$(call targetinfo, $@) + @$(call get, $(XORG_PROTO_FIXES_URL)) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_extract: $(STATEDIR)/xorg-proto-fixes.extract + +$(STATEDIR)/xorg-proto-fixes.extract: $(xorg-proto-fixes_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(XORG_PROTO_FIXES_DIR)) + @$(call extract, $(XORG_PROTO_FIXES_SOURCE)) + @$(call patchin, $(XORG_PROTO_FIXES)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_prepare: $(STATEDIR)/xorg-proto-fixes.prepare + +XORG_PROTO_FIXES_PATH := PATH=$(CROSS_PATH) +XORG_PROTO_FIXES_ENV := $(CROSS_ENV) + +# +# autoconf +# +XORG_PROTO_FIXES_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/xorg-proto-fixes.prepare: $(xorg-proto-fixes_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(XORG_PROTO_FIXES_DIR)/config.cache) + cd $(XORG_PROTO_FIXES_DIR) && \ + $(XORG_PROTO_FIXES_PATH) $(XORG_PROTO_FIXES_ENV) \ + ./configure $(XORG_PROTO_FIXES_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_compile: $(STATEDIR)/xorg-proto-fixes.compile + +$(STATEDIR)/xorg-proto-fixes.compile: $(xorg-proto-fixes_compile_deps_default) + @$(call targetinfo, $@) + cd $(XORG_PROTO_FIXES_DIR) && $(XORG_PROTO_FIXES_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_install: $(STATEDIR)/xorg-proto-fixes.install + +$(STATEDIR)/xorg-proto-fixes.install: $(xorg-proto-fixes_install_deps_default) + @$(call targetinfo, $@) + @$(call install, XORG_PROTO_FIXES) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_targetinstall: $(STATEDIR)/xorg-proto-fixes.targetinstall + +$(STATEDIR)/xorg-proto-fixes.targetinstall: $(xorg-proto-fixes_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init,default) + @$(call install_fixup,PACKAGE,xorg-proto-fixes) + @$(call install_fixup,PRIORITY,optional) + @$(call install_fixup,VERSION,$(XORG_PROTO_FIXES_VERSION)) + @$(call install_fixup,SECTION,base) + @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup,DEPENDS,) + @$(call install_fixup,DESCRIPTION,missing) + + @$(call install_finish) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +xorg-proto-fixes_clean: + rm -rf $(STATEDIR)/xorg-proto-fixes.* + rm -rf $(IMAGEDIR)/xorg-proto-fixes_* + rm -rf $(XORG_PROTO_FIXES_DIR) + +# vim: syntax=make + |