summaryrefslogtreecommitdiffstats
path: root/rules/vice.make
blob: 17b2eedba0d868cdcf7b1826929f4d1bdda439a6 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# -*-makefile-*-
#
# Copyright (C) 2007-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_VICE) += vice

#
# Paths and names
#
VICE_VERSION	:= 1.22
VICE_MD5	:=
VICE		:= vice-$(VICE_VERSION)
VICE_SUFFIX	:= tar.gz
VICE_URL	:= http://www.viceteam.org/online/$(VICE).$(VICE_SUFFIX)
VICE_SOURCE	:= $(SRCDIR)/$(VICE).$(VICE_SUFFIX)
VICE_DIR	:= $(BUILDDIR)/$(VICE)

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

VICE_PATH	:= PATH=$(CROSS_PATH)
VICE_ENV 	:= $(CROSS_ENV)

#
# autoconf
#
VICE_AUTOCONF := \
	$(CROSS_AUTOCONF_USR) \
	\
	--with-sdl \
	--disable-gnomeui \
	--disable-nls \
	--disable-realdevice \
	--disable-ffmpeg \
	--disable-ethernet \
	--disable-ipv6 \
	--disable-parsid \
	--disable-bundle \
	\
	--without-readline \
	--without-arts \
	--without-esd \
	--with-alsa \
	--without-oss \
	--with-resid \
	--without-png \
	--without-zlib \
	--without-picasso96 \
	--without-cocoa	\
	\
	--enable-fullscreen \
	--without-xaw3d \
	--without-x

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

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

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

#	@$(call install_copy, vice, 0, 0, 0755, $(VICE_DIR)/foobar, /dev/null)

	@$(call install_finish, vice)

	@$(call touch)

# vim: syntax=make