summaryrefslogtreecommitdiffstats
path: root/rules/libxmlconfig.make
blob: 3c9b2a0c265941218d71ce76f9f2896a008d3e65 (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
59
60
# -*-makefile-*-
#
# Copyright (C) 2005 by Robert Schwebel
# 		2008 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
#
PACKAGES-$(PTXCONF_LIBXMLCONFIG) += libxmlconfig

#
# Paths and names
#
LIBXMLCONFIG_VERSION	:= 1.0.8
LIBXMLCONFIG_MD5	:= 56a7f981ebcea07bb495c4339bc93421
LIBXMLCONFIG		:= libxmlconfig-$(LIBXMLCONFIG_VERSION)
LIBXMLCONFIG_SUFFIX	:= tar.bz2
LIBXMLCONFIG_URL	:= http://www.pengutronix.de/software/libxmlconfig/download/$(LIBXMLCONFIG).$(LIBXMLCONFIG_SUFFIX)
LIBXMLCONFIG_SOURCE	:= $(SRCDIR)/$(LIBXMLCONFIG).$(LIBXMLCONFIG_SUFFIX)
LIBXMLCONFIG_DIR	:= $(BUILDDIR)/$(LIBXMLCONFIG)


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

LIBXMLCONFIG_PATH	:= PATH=$(CROSS_PATH)
LIBXMLCONFIG_ENV 	:= $(CROSS_ENV)

#
# autoconf
#
LIBXMLCONFIG_AUTOCONF := $(CROSS_AUTOCONF_USR)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/libxmlconfig.targetinstall:
	@$(call targetinfo)

	@$(call install_init, libxmlconfig)
	@$(call install_fixup, libxmlconfig,PRIORITY,optional)
	@$(call install_fixup, libxmlconfig,SECTION,base)
	@$(call install_fixup, libxmlconfig,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup, libxmlconfig,DESCRIPTION,missing)

	@$(call install_lib, libxmlconfig, 0, 0, 0644, libxmlconfig)

	@$(call install_finish, libxmlconfig)

	@$(call touch)

# vim: syntax=make