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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
# -*-makefile-*-
# $Id$
#
# Copyright (C) 2003 by BSP
#
# 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_AT-SPI) += at-spi
#
# Paths and names
#
AT-SPI_VERSION = 1.3.13
AT-SPI = at-spi-$(AT-SPI_VERSION)
AT-SPI_SUFFIX = tar.bz2
AT-SPI_URL = ftp://ftp.gnome.org/pub/GNOME/sources/at-spi/1.3/$(AT-SPI).$(AT-SPI_SUFFIX)
AT-SPI_SOURCE = $(SRCDIR)/$(AT-SPI).$(AT-SPI_SUFFIX)
AT-SPI_DIR = $(BUILDDIR)/$(AT-SPI)
-include $(call package_depfile)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
at-spi_get: $(STATEDIR)/at-spi.get
$(STATEDIR)/at-spi.get: $(AT-SPI_SOURCE)
@$(call targetinfo, $@)
@$(call touch, $@)
$(AT-SPI_SOURCE):
@$(call targetinfo, $@)
@$(call get, $(AT-SPI_URL))
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
at-spi_extract: $(STATEDIR)/at-spi.extract
$(STATEDIR)/at-spi.extract: $(at-spi_extract_deps_deps)
@$(call targetinfo, $@)
@$(call clean, $(AT-SPI_DIR))
@$(call extract, $(AT-SPI_SOURCE))
@$(call patchin, $(AT-SPI))
@$(call touch, $@)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
at-spi_prepare: $(STATEDIR)/at-spi.prepare
AT-SPI_PATH = PATH=$(CROSS_PATH)
AT-SPI_ENV = $(CROSS_ENV)
#AT-SPI_ENV +=
#
# autoconf
#
AT-SPI_AUTOCONF = $(CROSS_AUTOCONF_USR)
$(STATEDIR)/at-spi.prepare: $(at-spi_prepare_deps_default)
@$(call targetinfo, $@)
@$(call clean, $(AT-SPI_DIR)/config.cache)
cd $(AT-SPI_DIR) && \
$(AT-SPI_PATH) $(AT-SPI_ENV) \
./configure $(AT-SPI_AUTOCONF)
@$(call touch, $@)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
at-spi_compile: $(STATEDIR)/at-spi.compile
$(STATEDIR)/at-spi.compile: $(at-spi_compile_deps_default)
@$(call targetinfo, $@)
cd $(AT-SPI_DIR) && $(AT-SPI_PATH) make
@$(call touch, $@)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
at-spi_install: $(STATEDIR)/at-spi.install
$(STATEDIR)/at-spi.install: $(at-spi_install_deps_default)
@$(call targetinfo, $@)
@$(call install, AT-SPI)
@$(call touch, $@)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
at-spi_targetinstall: $(STATEDIR)/at-spi.targetinstall
$(STATEDIR)/at-spi.targetinstall: $(at-spi_targetinstall_deps_default)
@$(call targetinfo, $@)
# FIXME: something to add to the target for at-spi?
@$(call touch, $@)
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
at-spi_clean:
rm -rf $(STATEDIR)/at-spi.*
rm -rf $(AT-SPI_DIR)
# vim: syntax=make
|