summaryrefslogtreecommitdiffstats
path: root/rules/host-gettext.make
blob: 9fad81f98cffe9bd3c65317e9d48b247b478ae41 (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
54
55
56
57
58
# -*-makefile-*-
#
# Copyright (C) 2007 by Robert Schwebel
#               2009 by Marc Kleine-Budde <mkl@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_GETTEXT) += host-gettext

#
# Paths and names
#
HOST_GETTEXT_VERSION	:= 0.17
HOST_GETTEXT		:= gettext-$(HOST_GETTEXT_VERSION)
HOST_GETTEXT_SUFFIX	:= tar.gz
HOST_GETTEXT_URL	:= $(PTXCONF_SETUP_GNUMIRROR)/gettext/$(HOST_GETTEXT).$(HOST_GETTEXT_SUFFIX)
HOST_GETTEXT_SOURCE	:= $(SRCDIR)/$(HOST_GETTEXT).$(HOST_GETTEXT_SUFFIX)
HOST_GETTEXT_DIR	:= $(HOST_BUILDDIR)/$(HOST_GETTEXT)

ifdef PTXCONF_HOST_GETTEXT
$(STATEDIR)/autogen-tools: $(STATEDIR)/host-gettext.install
endif

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

$(HOST_GETTEXT_SOURCE):
	@$(call targetinfo)
	@$(call get, HOST_GETTEXT)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_GETTEXT_ENV 	:= $(HOST_ENV)

#
# autoconf
#
HOST_GETTEXT_AUTOCONF := \
	$(HOST_AUTOCONF) \
	--disable-csharp \
	--disable-java \
	--disable-libasprintf \
	--disable-native-java \
	--disable-openmp \
	--enable-relocatable \
	--without-emacs

# vim: syntax=make