summaryrefslogtreecommitdiffstats
path: root/rules/host-apr.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/host-apr.make')
-rw-r--r--rules/host-apr.make37
1 files changed, 37 insertions, 0 deletions
diff --git a/rules/host-apr.make b/rules/host-apr.make
new file mode 100644
index 000000000..2ef54c3a4
--- /dev/null
+++ b/rules/host-apr.make
@@ -0,0 +1,37 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# 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_APR) += host-apr
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_APR_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-apr.install.post:
+ @$(call targetinfo)
+ @$(call world/install.post, HOST_APR)
+ @sed -i -e "s~@SYSROOT@~$(PTXDIST_SYSROOT_HOST)~g" \
+ $(PTXDIST_SYSROOT_HOST)/build/apr_rules.mk \
+ $(PTXDIST_SYSROOT_HOST)/bin/apr-config
+ @$(call touch)
+
+# vim: syntax=make