summaryrefslogtreecommitdiffstats
path: root/rules/host-apiextractor.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-01-26 01:23:03 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-20 18:05:51 +0200
commita069145f2240d476c795c311b89833a0d00a37c2 (patch)
tree3e542874d096c6fb69529a9955aaff3ab02633a7 /rules/host-apiextractor.make
parent5e2fd2e1e50fe6cabdb3f9ec43bd00c5405627be (diff)
downloadptxdist-a069145f2240d476c795c311b89833a0d00a37c2.tar.gz
ptxdist-a069145f2240d476c795c311b89833a0d00a37c2.tar.xz
host-apiextractor: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-apiextractor.make')
-rw-r--r--rules/host-apiextractor.make52
1 files changed, 52 insertions, 0 deletions
diff --git a/rules/host-apiextractor.make b/rules/host-apiextractor.make
new file mode 100644
index 000000000..81d5b159b
--- /dev/null
+++ b/rules/host-apiextractor.make
@@ -0,0 +1,52 @@
+# -*-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_APIEXTRACTOR) += host-apiextractor
+
+#
+# Paths and names
+#
+HOST_APIEXTRACTOR_VERSION := 0.10.3
+HOST_APIEXTRACTOR_MD5 := 3dffe34785c2e0df20529cfebc2227e5
+HOST_APIEXTRACTOR := apiextractor-$(HOST_APIEXTRACTOR_VERSION)
+HOST_APIEXTRACTOR_SUFFIX := tar.bz2
+HOST_APIEXTRACTOR_URL := http://www.pyside.org/files/$(HOST_APIEXTRACTOR).$(HOST_APIEXTRACTOR_SUFFIX)
+HOST_APIEXTRACTOR_SOURCE := $(SRCDIR)/$(HOST_APIEXTRACTOR).$(HOST_APIEXTRACTOR_SUFFIX)
+HOST_APIEXTRACTOR_DIR := $(HOST_BUILDDIR)/$(HOST_APIEXTRACTOR)
+HOST_APIEXTRACTOR_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+HOST_APIEXTRACTOR_CONF_TOOL := cmake
+HOST_APIEXTRACTOR_CONF_OPT := \
+ $(HOST_CMAKE_OPT) \
+ -DBUILD_TESTS:BOOL=OFF \
+ -DDISABLE_DOCSTRINGS:BOOL=ON
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-apiextractor.install.post:
+ @$(call targetinfo)
+ @$(call world/install.post, HOST_APIEXTRACTOR)
+ @sed -i -e 's,"/,"$(PTXCONF_SYSROOT_HOST)/,g' \
+ '$(PTXCONF_SYSROOT_HOST)/lib/cmake/ApiExtractor-$(HOST_APIEXTRACTOR_VERSION)/ApiExtractorConfig.cmake'
+ @$(call touch)
+
+# vim: syntax=make