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
|
# -*-makefile-*-
#
# Copyright (C) 2008, 2010 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_SCUMMVM) += scummvm
#
# Paths and names
#
SCUMMVM_VERSION := 1.0.0
SCUMMVM_MD5 := 11b911937e0fc73c94a7bdc374ab617c
SCUMMVM := scummvm-$(SCUMMVM_VERSION)
SCUMMVM_SUFFIX := tar.bz2
SCUMMVM_URL := $(call ptx/mirror, SF, scummvm/$(SCUMMVM).$(SCUMMVM_SUFFIX))
SCUMMVM_SOURCE := $(SRCDIR)/$(SCUMMVM).$(SCUMMVM_SUFFIX)
SCUMMVM_DIR := $(BUILDDIR)/$(SCUMMVM)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
SCUMMVM_CONF_TOOL := autoconf
SCUMMVM_CONF_OPT := \
--host=$(PTXCONF_GNU_TARGET) \
--disable-flac \
--disable-vorbis \
--prefix=/usr
SCUMMVM_MAKE_OPT := $(CROSS_ENV_AS) $(CROSS_ENV_RANLIB) AR="$(CROSS_AR) cru"
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/scummvm.targetinstall:
@$(call targetinfo)
@$(call install_init, scummvm)
@$(call install_fixup, scummvm,PRIORITY,optional)
@$(call install_fixup, scummvm,SECTION,base)
@$(call install_fixup, scummvm,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, scummvm,DESCRIPTION,missing)
@$(call install_copy, scummvm, 0, 0, 0755, -, /usr/bin/scummvm)
@cd $(SCUMMVM_PKGDIR) && pwd && find usr/share/scummvm -type f | while read file; do \
$(call install_copy, scummvm, 0, 0, 0644, -, /$$file); \
done
@$(call install_finish, scummvm)
@$(call touch)
# vim: syntax=make
|