summaryrefslogtreecommitdiffstats
path: root/rules/host-shiboken.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-01-26 01:24:02 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-20 18:05:52 +0200
commitfaac7233ee62ecf23d445c3039f1e8876fe2a8f0 (patch)
tree742d0b8573597316f432940ebb32bfd80d2579bd /rules/host-shiboken.make
parent33b2968543db8237a90282e6ee4392ff2c64dda8 (diff)
downloadptxdist-faac7233ee62ecf23d445c3039f1e8876fe2a8f0.tar.gz
ptxdist-faac7233ee62ecf23d445c3039f1e8876fe2a8f0.tar.xz
{host-,}shiboken: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-shiboken.make')
-rw-r--r--rules/host-shiboken.make43
1 files changed, 43 insertions, 0 deletions
diff --git a/rules/host-shiboken.make b/rules/host-shiboken.make
new file mode 100644
index 000000000..601eab351
--- /dev/null
+++ b/rules/host-shiboken.make
@@ -0,0 +1,43 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Michael Olbrich <m.olbrich@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_SHIBOKEN) += host-shiboken
+
+#
+# Paths and names
+#
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+HOST_SHIBOKEN_CONF_TOOL := cmake
+HOST_SHIBOKEN_CONF_OPT := \
+ $(HOST_CMAKE_OPT) \
+ -DBUILD_TESTS:BOOL=OFF
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-shiboken.install.post:
+ @$(call targetinfo)
+ @$(call world/install.post, HOST_SHIBOKEN)
+ @sed -i -e 's,"/,"$(PTXCONF_SYSROOT_HOST)/,g' \
+ '$(PTXCONF_SYSROOT_HOST)/lib/cmake/Shiboken-$(SHIBOKEN_VERSION)/ShibokenConfig.cmake'
+ @$(call touch)
+
+# vim: syntax=make