blob: d4d58f7c6de832c620c8ccf6fe16af97c8e50015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.10
HOST_APIEXTRACTOR_MD5 := 7cdf6bdbf161e15b8bc5e98df86f95ee
HOST_APIEXTRACTOR := apiextractor-$(HOST_APIEXTRACTOR_VERSION)
HOST_APIEXTRACTOR_SUFFIX := tar.bz2
HOST_APIEXTRACTOR_URL := https://distfiles.macports.org/apiextractor/$(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
|