blob: 8965aa9669840e9a46eafd7f1ce1fe585833612e (
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
|
# -*-makefile-*-
#
# Copyright (C) 2018 by Ladislav Michl <ladis@linux-mips.org>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_JIMTCL) += host-jimtcl
#
# Paths and names
#
HOST_JIMTCL := $(JIMTCL)
HOST_JIMTCL_DIR := $(HOST_BUILDDIR)/$(HOST_JIMTCL)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# Package is not using autoconf but autosetup which is enough compatible...
#
HOST_JIMTCL_CONF_TOOL := autoconf
# autosetup/cc.tcl tries to discover ccache on its own, so use 'CCACHE=none'
# to prevent that and leave PTXCONF_SETUP_CCACHE in charge.
HOST_JIMTCL_CONF_ENV := \
$(HOST_ENV) \
CCACHE=none
HOST_JIMTCL_CONF_OPT := \
$(HOST_AUTOCONF) \
--disable-lineedit \
--disable-ssl \
--shared \
--disable-docs
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-jimtcl.install:
@$(call targetinfo)
@$(call world/install, HOST_JIMTCL)
@ln -sf libjim.so.$(HOST_JIMTCL_VERSION) $(HOST_JIMTCL_PKGDIR)/usr/lib/libjim.so
@$(call touch)
# vim: syntax=make
|