summaryrefslogtreecommitdiffstats
path: root/rules/host-intltool.make
blob: 606d7056882bbc56676dce2de2017dfc5daebc09 (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) 2008 by mol@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_INTLTOOL) += host-intltool

ifdef PTXCONF_HOST_INTLTOOL
ifeq ($(shell perl -e "require XML::Parser" 2>/dev/null || echo no),no)
    $(warning *** XML::Parser perl module is required for host-intltool)
    $(warning *** please install libxml-parser-perl (debian))
    $(error )
endif
endif

ifdef PTXCONF_HOST_INTLTOOL
$(STATEDIR)/autogen-tools: $(STATEDIR)/host-intltool.install.post
endif

#
# Paths and names
#
HOST_INTLTOOL_VERSION	:= 0.40.6
HOST_INTLTOOL		:= intltool-$(HOST_INTLTOOL_VERSION)
HOST_INTLTOOL_SUFFIX	:= tar.bz2
HOST_INTLTOOL_URL	:= http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/$(HOST_INTLTOOL).$(HOST_INTLTOOL_SUFFIX)
HOST_INTLTOOL_SOURCE	:= $(SRCDIR)/$(HOST_INTLTOOL).$(HOST_INTLTOOL_SUFFIX)
HOST_INTLTOOL_DIR	:= $(HOST_BUILDDIR)/$(HOST_INTLTOOL)

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

$(HOST_INTLTOOL_SOURCE):
	@$(call targetinfo)
	@$(call get, HOST_INTLTOOL)

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

HOST_INTLTOOL_PATH	:= PATH=$(HOST_PATH)
HOST_INTLTOOL_ENV 	:= $(HOST_ENV)

#
# autoconf
#
HOST_INTLTOOL_AUTOCONF	:= $(HOST_AUTOCONF)

# vim: syntax=make