diff options
-rw-r--r-- | rules/host-dbus.in | 4 | ||||
-rw-r--r-- | rules/host-dbus.make | 103 | ||||
-rw-r--r-- | rules/host-expat.in | 3 | ||||
-rw-r--r-- | rules/host-expat.make | 101 | ||||
-rw-r--r-- | rules/host-libdbus-cxx.in | 4 | ||||
-rw-r--r-- | rules/host-libdbus-cxx.make | 101 | ||||
-rw-r--r-- | rules/hosttools.in | 3 | ||||
-rw-r--r-- | rules/libdbus-cxx.in | 1 | ||||
-rw-r--r-- | rules/libdbus-cxx.make | 2 |
9 files changed, 321 insertions, 1 deletions
diff --git a/rules/host-dbus.in b/rules/host-dbus.in new file mode 100644 index 000000000..97d5af91b --- /dev/null +++ b/rules/host-dbus.in @@ -0,0 +1,4 @@ +config HOST_DBUS + bool + select HOST_EXPAT + diff --git a/rules/host-dbus.make b/rules/host-dbus.make new file mode 100644 index 000000000..e6419ed41 --- /dev/null +++ b/rules/host-dbus.make @@ -0,0 +1,103 @@ +# -*-makefile-*- +# $Id$ +# +# 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 +# +HOST_PACKAGES-$(PTXCONF_HOST_DBUS) += host-dbus + +# +# Paths and names +# +HOST_DBUS = $(DBUS) +HOST_DBUS_DIR = $(HOST_BUILDDIR)/$(HOST_DBUS) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +host-dbus_get: $(STATEDIR)/host-dbus.get + +$(STATEDIR)/host-dbus.get: $(STATEDIR)/dbus.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-dbus_extract: $(STATEDIR)/host-dbus.extract + +$(STATEDIR)/host-dbus.extract: $(host-dbus_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_DBUS_DIR)) + @$(call extract, DBUS, $(HOST_BUILDDIR)) + @$(call patchin, DBUS, $(HOST_DBUS_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-dbus_prepare: $(STATEDIR)/host-dbus.prepare + +HOST_DBUS_PATH := PATH=$(HOST_PATH) +HOST_DBUS_ENV := \ + $(HOST_ENV) \ + ac_cv_have_abstract_sockets=yes + +# +# autoconf +# +HOST_DBUS_AUTOCONF := \ + $(HOST_AUTOCONF) \ + --enable-abstract-sockets=yes \ + --with-xml=expat + +$(STATEDIR)/host-dbus.prepare: $(host-dbus_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_DBUS_DIR)/config.cache) + cd $(HOST_DBUS_DIR) && \ + $(HOST_DBUS_PATH) $(HOST_DBUS_ENV) \ + ./configure $(HOST_DBUS_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-dbus_compile: $(STATEDIR)/host-dbus.compile + +$(STATEDIR)/host-dbus.compile: $(host-dbus_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_DBUS_DIR) && $(HOST_DBUS_PATH) $(MAKE) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-dbus_install: $(STATEDIR)/host-dbus.install + +$(STATEDIR)/host-dbus.install: $(host-dbus_install_deps_default) + @$(call targetinfo, $@) + @$(call install, HOST_DBUS,,h) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-dbus_clean: + rm -rf $(STATEDIR)/host-dbus.* + rm -rf $(HOST_DBUS_DIR) + +# vim: syntax=make diff --git a/rules/host-expat.in b/rules/host-expat.in new file mode 100644 index 000000000..be91e6ee6 --- /dev/null +++ b/rules/host-expat.in @@ -0,0 +1,3 @@ +config HOST_EXPAT + bool + diff --git a/rules/host-expat.make b/rules/host-expat.make new file mode 100644 index 000000000..20056414b --- /dev/null +++ b/rules/host-expat.make @@ -0,0 +1,101 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 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 +# + +# +HOST_PACKAGES-$(PTXCONF_HOST_EXPAT) += host-expat + +# +# Paths and names +# +HOST_EXPAT = $(EXPAT) +HOST_EXPAT_DIR = $(HOST_BUILDDIR)/$(HOST_EXPAT) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +host-expat_get: $(STATEDIR)/host-expat.get + +$(STATEDIR)/host-expat.get: $(STATEDIR)/expat.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-expat_extract: $(STATEDIR)/host-expat.extract + +$(STATEDIR)/host-expat.extract: $(host-expat_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_EXPAT_DIR)) + @$(call extract, EXPAT, $(HOST_BUILDDIR)) + @$(call patchin, EXPAT, $(HOST_EXPAT_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-expat_prepare: $(STATEDIR)/host-expat.prepare + +HOST_EXPAT_PATH := PATH=$(HOST_PATH) +HOST_EXPAT_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_EXPAT_AUTOCONF := $(HOST_AUTOCONF) + +$(STATEDIR)/host-expat.prepare: $(host-expat_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_EXPAT_DIR)/config.cache) + cd $(HOST_EXPAT_DIR) && \ + $(HOST_EXPAT_PATH) $(HOST_EXPAT_ENV) \ + ./configure $(HOST_EXPAT_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-expat_compile: $(STATEDIR)/host-expat.compile + + +$(STATEDIR)/host-expat.compile: $(host-expat_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_EXPAT_DIR) && $(HOST_EXPAT_ENV) $(HOST_EXPAT_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-expat_install: $(STATEDIR)/host-expat.install + +$(STATEDIR)/host-expat.install: $(host-expat_install_deps_default) + @$(call targetinfo, $@) + @$(call install, HOST_EXPAT,,h) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-expat_clean: + rm -rf $(STATEDIR)/host-expat.* + rm -rf $(HOST_EXPAT_DIR) + +# vim: syntax=make diff --git a/rules/host-libdbus-cxx.in b/rules/host-libdbus-cxx.in new file mode 100644 index 000000000..17a993640 --- /dev/null +++ b/rules/host-libdbus-cxx.in @@ -0,0 +1,4 @@ +config HOST_LIBDBUS_CXX + bool + select HOST_DBUS + diff --git a/rules/host-libdbus-cxx.make b/rules/host-libdbus-cxx.make new file mode 100644 index 000000000..12992d2cc --- /dev/null +++ b/rules/host-libdbus-cxx.make @@ -0,0 +1,101 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 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 +# + +# +HOST_PACKAGES-$(PTXCONF_HOST_LIBDBUS_CXX) += host-libdbus-cxx + +# +# Paths and names +# +HOST_LIBDBUS_CXX = $(LIBDBUS_CXX) +HOST_LIBDBUS_CXX_DIR = $(HOST_BUILDDIR)/$(HOST_LIBDBUS_CXX) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_get: $(STATEDIR)/host-libdbus-cxx.get + +$(STATEDIR)/host-libdbus-cxx.get: $(STATEDIR)/libdbus-cxx.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_extract: $(STATEDIR)/host-libdbus-cxx.extract + +$(STATEDIR)/host-libdbus-cxx.extract: $(host-libdbus-cxx_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_LIBDBUS_CXX_DIR)) + @$(call extract, LIBDBUS_CXX, $(HOST_BUILDDIR)) + @$(call patchin, LIBDBUS_CXX, $(HOST_LIBDBUS_CXX_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_prepare: $(STATEDIR)/host-libdbus-cxx.prepare + +HOST_LIBDBUS_CXX_PATH := PATH=$(HOST_PATH) +HOST_LIBDBUS_CXX_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_LIBDBUS_CXX_AUTOCONF := $(HOST_AUTOCONF) + +$(STATEDIR)/host-libdbus-cxx.prepare: $(host-libdbus-cxx_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_LIBDBUS_CXX_DIR)/config.cache) + cd $(HOST_LIBDBUS_CXX_DIR) && \ + $(HOST_LIBDBUS_CXX_PATH) $(HOST_LIBDBUS_CXX_ENV) \ + ./configure $(HOST_LIBDBUS_CXX_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_compile: $(STATEDIR)/host-libdbus-cxx.compile + + +$(STATEDIR)/host-libdbus-cxx.compile: $(host-libdbus-cxx_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_LIBDBUS_CXX_DIR) && $(HOST_LIBDBUS_CXX_ENV) $(HOST_LIBDBUS_CXX_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_install: $(STATEDIR)/host-libdbus-cxx.install + +$(STATEDIR)/host-libdbus-cxx.install: $(host-libdbus-cxx_install_deps_default) + @$(call targetinfo, $@) + @$(call install, HOST_LIBDBUS_CXX,,h) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_clean: + rm -rf $(STATEDIR)/host-libdbus-cxx.* + rm -rf $(HOST_LIBDBUS_CXX_DIR) + +# vim: syntax=make diff --git a/rules/hosttools.in b/rules/hosttools.in index 8c3b2837b..48d74ae48 100644 --- a/rules/hosttools.in +++ b/rules/hosttools.in @@ -45,4 +45,7 @@ source "rules/host-python24.in" # automatically selected host tools source "rules/host-bdftopcf.in" +source "rules/host-dbus.in" +source "rules/host-expat.in" +source "rules/host-libdbus-cxx.in" source "rules/host-ucstoany.in" diff --git a/rules/libdbus-cxx.in b/rules/libdbus-cxx.in index f420950d6..1119ee3f7 100644 --- a/rules/libdbus-cxx.in +++ b/rules/libdbus-cxx.in @@ -2,6 +2,7 @@ config LIBDBUS_CXX bool prompt "dbus c++ bindings " select DBUS + select HOST_LIBDBUS_CXX help This library offers C++ bindings for dbus. diff --git a/rules/libdbus-cxx.make b/rules/libdbus-cxx.make index 929447663..9273f097c 100644 --- a/rules/libdbus-cxx.make +++ b/rules/libdbus-cxx.make @@ -17,7 +17,7 @@ PACKAGES-$(PTXCONF_LIBDBUS_CXX) += libdbus-cxx # # Paths and names # -LIBDBUS_CXX_VERSION := 0.3.0 +LIBDBUS_CXX_VERSION := 0.5.0 LIBDBUS_CXX := libdbus-c++-$(LIBDBUS_CXX_VERSION) LIBDBUS_CXX_SUFFIX := tar.gz LIBDBUS_CXX_URL := /$(LIBDBUS_CXX).$(LIBDBUS_CXX_SUFFIX) |