summaryrefslogtreecommitdiffstats
path: root/rules/host-apr-util.make
blob: bfd604c2782e142497ca71bb216ce0a02b1a56b5 (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
# -*-makefile-*-
#
# Copyright (C) 2012 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_APR_UTIL) += host-apr-util

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

#
# autoconf
#
HOST_APR_UTIL_CONF_TOOL := autoconf
HOST_APR_UTIL_CONF_OPT := \
	$(HOST_AUTOCONF) \
	--with-expat=$(PTXDIST_SYSROOT_HOST) \
	--with-apr=$(PTXDIST_SYSROOT_HOST)/bin/apr-config

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-apr-util.install:
	@$(call targetinfo)
	@$(call world/install, HOST_APR_UTIL)
	@install $(HOST_APR_UTIL_DIR)/uri/gen_uri_delims $(HOST_APR_UTIL_PKGDIR)/bin
	@$(call touch)

# vim: syntax=make