blob: 451900036e60f47fd56d9fcc8740d27b948beeba (
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
53
|
# -*-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_GENERATORRUNNER) += host-generatorrunner
#
# Paths and names
#
HOST_GENERATORRUNNER_VERSION := 0.6.16
HOST_GENERATORRUNNER_MD5 := c7011b8ee08e228779a769b7cfa90f5f
HOST_GENERATORRUNNER := generatorrunner-$(HOST_GENERATORRUNNER_VERSION)
HOST_GENERATORRUNNER_SUFFIX := tar.bz2
HOST_GENERATORRUNNER_URL := https://distfiles.macports.org/generatorrunner/$(HOST_GENERATORRUNNER).$(HOST_GENERATORRUNNER_SUFFIX)
HOST_GENERATORRUNNER_SOURCE := $(SRCDIR)/$(HOST_GENERATORRUNNER).$(HOST_GENERATORRUNNER_SUFFIX)
HOST_GENERATORRUNNER_DIR := $(HOST_BUILDDIR)/$(HOST_GENERATORRUNNER)
HOST_GENERATORRUNNER_LICENSE := unknown
# The plugin dir is compiled into the generator
HOST_GENERATORRUNNER_DEVPKG := NO
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# cmake
#
HOST_GENERATORRUNNER_CONF_TOOL := cmake
HOST_GENERATORRUNNER_CONF_OPT := \
$(HOST_CMAKE_OPT_SYSROOT) \
-DBUILD_TESTS:BOOL=OFF \
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-generatorrunner.install.post:
@$(call targetinfo)
@$(call world/install.post, HOST_GENERATORRUNNER)
@sed -i -e 's,\(GENERATORRUNNER_PLUGIN_DIR "\)$(PTXCONF_SYSROOT_HOST),\1,g' \
'$(PTXCONF_SYSROOT_HOST)/lib/cmake/GeneratorRunner-$(HOST_GENERATORRUNNER_VERSION)/GeneratorRunnerConfig.cmake'
@$(call touch)
# vim: syntax=make
|