diff options
author | Erwin Rol <erwin@erwinrol.com> | 2006-02-20 21:05:01 +0000 |
---|---|---|
committer | Erwin Rol <erwin@erwinrol.com> | 2006-02-20 21:05:01 +0000 |
commit | 91cf8efa923a506b5ed554db300c218cebd79d23 (patch) | |
tree | 8f9c1e6c9604691097363f7c457aaf9d06e7f3c7 /rules/xorg-app-xdm.make | |
parent | feb5560968250b8d641a113f4c3479f5645248f4 (diff) | |
download | ptxdist-91cf8efa923a506b5ed554db300c218cebd79d23.tar.gz ptxdist-91cf8efa923a506b5ed554db300c218cebd79d23.tar.xz |
Added initial app xdm
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4649 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/xorg-app-xdm.make')
-rw-r--r-- | rules/xorg-app-xdm.make | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/rules/xorg-app-xdm.make b/rules/xorg-app-xdm.make new file mode 100644 index 000000000..05f4dbec6 --- /dev/null +++ b/rules/xorg-app-xdm.make @@ -0,0 +1,141 @@ +# -*-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_APP_XDM) += xorg-app-xdm + +# +# Paths and names +# +XORG_APP_XDM_VERSION := 1.0.1 +XORG_APP_XDM := xdm-X11R7.0-$(XORG_APP_XDM_VERSION) +XORG_APP_XDM_SUFFIX := tar.bz2 +XORG_APP_XDM_URL := ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R7.0/src/app//$(XORG_APP_XDM).$(XORG_APP_XDM_SUFFIX) +XORG_APP_XDM_SOURCE := $(SRCDIR)/$(XORG_APP_XDM).$(XORG_APP_XDM_SUFFIX) +XORG_APP_XDM_DIR := $(BUILDDIR)/$(XORG_APP_XDM) + +-include $(call package_depfile) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +xorg-app-xdm_get: $(STATEDIR)/xorg-app-xdm.get + +$(STATEDIR)/xorg-app-xdm.get: $(xorg-app-xdm_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(XORG_APP_XDM_SOURCE): + @$(call targetinfo, $@) + @$(call get, $(XORG_APP_XDM_URL)) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +xorg-app-xdm_extract: $(STATEDIR)/xorg-app-xdm.extract + +$(STATEDIR)/xorg-app-xdm.extract: $(xorg-app-xdm_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(XORG_APP_XDM_DIR)) + @$(call extract, $(XORG_APP_XDM_SOURCE)) + @$(call patchin, $(XORG_APP_XDM)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +xorg-app-xdm_prepare: $(STATEDIR)/xorg-app-xdm.prepare + +XORG_APP_XDM_PATH := PATH=$(CROSS_PATH) +XORG_APP_XDM_ENV := $(CROSS_ENV) + +# +# autoconf +# +XORG_APP_XDM_AUTOCONF := $(CROSS_AUTOCONF_USR) +XORG_APP_XDM_AUTOCONF += --enable-unix-transport +XORG_APP_XDM_AUTOCONF += --enable-tcp-transport +XORG_APP_XDM_AUTOCONF += --enable-IPv6 +XORG_APP_XDM_AUTOCONF += --enable-secure-rpc +XORG_APP_XDM_AUTOCONF += --enable-xpm-logos +XORG_APP_XDM_AUTOCONF += --disable-xprint # FIXME +XORG_APP_XDM_AUTOCONF += --enable-dynamic-greeter +XORG_APP_XDM_AUTOCONF += --without-pam # FXIME +XORG_APP_XDM_AUTOCONF += --with-random-device=/dev/urandom + + +$(STATEDIR)/xorg-app-xdm.prepare: $(xorg-app-xdm_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(XORG_APP_XDM_DIR)/config.cache) + cd $(XORG_APP_XDM_DIR) && \ + $(XORG_APP_XDM_PATH) $(XORG_APP_XDM_ENV) \ + ./configure $(XORG_APP_XDM_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +xorg-app-xdm_compile: $(STATEDIR)/xorg-app-xdm.compile + +$(STATEDIR)/xorg-app-xdm.compile: $(xorg-app-xdm_compile_deps_default) + @$(call targetinfo, $@) + cd $(XORG_APP_XDM_DIR) && $(XORG_APP_XDM_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +xorg-app-xdm_install: $(STATEDIR)/xorg-app-xdm.install + +$(STATEDIR)/xorg-app-xdm.install: $(xorg-app-xdm_install_deps_default) + @$(call targetinfo, $@) + @$(call install, XORG_APP_XDM) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +xorg-app-xdm_targetinstall: $(STATEDIR)/xorg-app-xdm.targetinstall + +$(STATEDIR)/xorg-app-xdm.targetinstall: $(xorg-app-xdm_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init,default) + @$(call install_fixup,PACKAGE,xorg-app-xdm) + @$(call install_fixup,PRIORITY,optional) + @$(call install_fixup,VERSION,$(XORG_APP_XDM_VERSION)) + @$(call install_fixup,SECTION,base) + @$(call install_fixup,AUTHOR,"Erwin Rol <ero\@pengutronix.de>") + @$(call install_fixup,DEPENDS,) + @$(call install_fixup,DESCRIPTION,missing) + + @$(call install_finish) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +xorg-app-xdm_clean: + rm -rf $(STATEDIR)/xorg-app-xdm.* + rm -rf $(IMAGEDIR)/xorg-app-xdm_* + rm -rf $(XORG_APP_XDM_DIR) + +# vim: syntax=make |