summaryrefslogtreecommitdiffstats
path: root/rules/wine.make
blob: 08c031df0821f8755314de51a1c8263183b1e3c5 (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
61
62
63
64
65
66
# -*-makefile-*-
#
# Copyright (C) 2007, 2008, 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
#
PACKAGES-$(PTXCONF_ARCH_MINGW)-$(PTXCONF_WINE) += wine

#
# Paths and names
#
WINE_VERSION	:= 1.0.1
WINE		:= wine-$(WINE_VERSION)
WINE_SUFFIX	:= tar.bz2
WINE_URL	:= $(PTXCONF_SETUP_SFMIRROR)/wine/$(WINE).$(WINE_SUFFIX)
WINE_SOURCE	:= $(SRCDIR)/$(WINE).$(WINE_SUFFIX)
WINE_DIR	:= $(BUILDDIR)/$(WINE)

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

$(WINE_SOURCE):
	@$(call targetinfo)
	@$(call get, WINE)

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

$(STATEDIR)/wine.prepare:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

$(STATEDIR)/wine.compile:
	@$(call targetinfo)
	@$(call touch)

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

$(STATEDIR)/wine.install:
	@$(call targetinfo)
	install -m644 $(WINE_DIR)/include/usp10.h $(SYSROOT)/usr/include/
	@$(call touch)

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

$(STATEDIR)/wine.targetinstall:
	@$(call touch)

# vim: syntax=make